removing eval trap altogether
[migration-tools.git] / notes.txt
1 # One-linerize an XML (so that it can be split with 'split -l', for example)
2 perl -e 'my $line="";while(<>){chomp;$line.=$_;if($_ eq "</record>"){$line=~s/>\s+</></go;print("$line\n");$line="";}}'
3 # test 234
4 # Fix attribute values of \" that fall inside of \"'s.
5 for i in a b c; do sed 's/"""/" "/g' < pines-marca$i > pines-marca$i.xml; done