You know, last night I was looking for
a good table showing ascii codes. That ascii man page is a nice tip.
Thanks again,
Doug
"Andre Lehovich"
<andrel@yahoo.com> Sent by: wlug-bounces@mail.wlug.org
03/01/2006 10:49 AM
Please respond to
"Worcester Linux Users Group" <wlug@mail.wlug.org>
To
"Worcester Linux Users
Group" <wlug@mail.wlug.org>
cc
Subject
Re: [Wlug] Perl puzzle
> I've been spending far too much time trying to
accomplish a (seemingly)
> simple thing: use a Perl substitution operation to replace, a comma
> followed by a space followed by a single double-quote with a single
> double-quote.
Octal escapes are one way:
perl -pe 's/, \042/\042/g'
See the ASCII(7) man page for octal and hex codes.
--Andre
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Wlug mailing list
Wlug@mail.wlug.org
http://mail.wlug.org/mailman/listinfo/wlug