[olug] sed issues inside of a script
Jay Hannah
jay at jays.net
Thu Nov 15 14:40:59 UTC 2007
On Nov 13, 2007, at 4:57 PM, John Hobbs wrote:
> As a related aside, is there a good document with best practices for
> shell scripting? My Google prowess failed me on that aspect. A book
> would do as well. I've just sorta picked this stuff up along the way
> and I'd like to read over the "right" ways to do things.
I'm too lazy to keep track of what shell does what, so I just write a
little perl program that works the same way everywhere. I'm forced to
work on lots of different shells on new and ancient *nix boxes, but
Perl is everywhere I go, so I can do whatever needs doing.
This is the only book I needed for the first 6 months of learning
programming (1993?):
Learning Perl, O'Reilly
http://www.oreilly.com/catalog/lperl3/
I don't know what actual problem you were trying to solve, so I
couldn't throw a Perl version in the ring. :)
Good luck!
j
Omaha Perl Mongers: http://omaha.pm.org
not intentionally flamebaiting the shell gods
More information about the OLUG
mailing list