On Wed, 03 Oct 2007 23:51:11 +1000, "david" <[EMAIL PROTECTED]> said:
> Looks like it's time to stop avoiding perl. (thanks Gavin). 
>       perl -i -pe 's/1\n/1/' test
> 
> vim does work, and I just realised that it can be scripted - I should
> have checked instead of ass-uming. The things you can learn by asking.

There's a really good book that's been out for a few years called
"Minimal Perl" by Tim Maher. Teaches *nix people who already know a
touch of shell/grep/awk/sed how to rapidly get up to speed on Perl as a
command line tool, rather than taking the approach of a lot of books
(which is to teach Perl as a programming language).

If I had to migrate to Waziristan tomorrow and was only allowed to take
5 books, it'd be one of them (together with "Vi Improved - Vim" by
Oualline); see the book reviews on Amazon for other superlatives.

:-)
-- 
Sonia Hamilton

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to