re: What are your UNIX pipeline commands that saved you from lot of coding/time? VIEW POST

FULL DISCUSSION
 

I have used perl in pipes a lot for when you need to change something easily using a regular expression.

$ find . -name "*Relevant*.pm" | xargs perl -pi -e 's/something/somethingelse/'

The find name part can be tweaked to suit your needs and the regular expression in the Perl part also.

code of conduct - report abuse