in reply to Re: What one-liners do people actually use?
in thread What one-liners do people actually use?
Just kidding! ;) I actually did pull off a BASH for loop:
And then a Perl one-liner to strip off the .new ... and then i realized that tidy as a -m option to modify the file in place!for i in `ls *.mas`; do tidy -asxhtml -clean -i -wrap 200 $i > $i.new; + done
UPDATE: Why Tanktalus? Because you weren't here at the time to show me a better way. :P Thanks for the tips, guys.
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In Section Seekers of Perl Wisdom