[Tfug] Quick command line question...

Jim March 1.jim.march at gmail.com
Wed Mar 10 14:30:56 MST 2010


Concluding this (for now?) here's what actually worked:

for i in *.adm; do sed 's/HandCountedPaperBallots/HCPB/g' $i>
`basename $i`.TMP; done
for i in *.TMP; do mv $i `basename $i .TMP`; done

for i in *.adm; do sed 's/subvert DRE tabulation/subvert tabulation/g'
$i> `basename $i`.TMP; done
for i in *.TMP; do mv $i `basename $i .TMP`; done

for i in *.adm; do sed 's/direct voter/direct voters/g' $i> `basename
$i`.TMP; done
for i in *.TMP; do mv $i `basename $i .TMP`; done

for i in *.adm; do sed 's/direct voterss/direct voters/g' $i>
`basename $i`.TMP; done
for i in *.TMP; do mv $i `basename $i .TMP`; done

for i in *.adm; do sed 's/jam CCOS scanner/jam scanner/g' $i>
`basename $i`.TMP; done
for i in *.TMP; do mv $i `basename $i .TMP`; done

for i in *.adm; do sed 's/jam PCOS scanner/jam scanner/g' $i>
`basename $i`.TMP; done
for i in *.TMP; do mv $i `basename $i .TMP`; done

:)

THANKS!!!

Jim




More information about the tfug mailing list