Linux.com

Patterns and string processing in shell scripts

Posted by: PerlCoder on December 27, 2008 03:00 AM
For many activities, Perl is easier to write and more portable. However, I would think that if you knew you were going to be passing a lot of data back and forth between *nix programs on a *nix system, you would want shell scripts. With the backticks, quick expansion, easy access to shell variables, and i/o operators, a shell script would probably be better suited for such a situation.

If you're planning to write an advanced text filter, I would think a Perl script would be better.

#

Return to Patterns and string processing in shell scripts