JP Vossen on 3 Dec 2009 22:25:37 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] sed newbie question


JP Vossen wrote:
[...]
> Third, if you want to know more about regexps, go out and buy _Mastering 
> Regular Expressions_ (AKA MRE)and a big bottle of aspirin.
[...]
> For more details on the Perl solution, see Walt's Perl one-liner slides, 
> they are great: http://www.mawode.com/~waltman/talks/one_liners.plugw.pdf
[...]

Oops, forgot to mention...

This is a quick reference to regular expressions in Perl, but it'll be 
incomprehensible unless you already know a fair amount about regular 
expressions:
	http://perldoc.perl.org/perlre.html

This is an even quicker reference, which is incomprehensible unless you 
already know a LOT about Perl and regexps:
	http://perldoc.perl.org/perlreref.html

Both of those are for Perl 5.10, which you probably aren't using yet 
unless you are on a pretty new system (Jaunty has 5.10.0).  There's a 
pull-down box in the upper right that lets you pick Perl 5.8, which is 
probably what you have on a non-bleeding-edge server OS/distro.  See 
'perl -v'.

Later,
JP
----------------------------|:::======|-------------------------------
JP Vossen, CISSP            |:::======|      http://bashcookbook.com/
My Account, My Opinions     |=========|      http://www.jpsdomain.org/
----------------------------|=========|-------------------------------
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug