[H-GEN] ASCII Characters

Three Blokes gerbil at bigpond.net.au
Fri Oct 24 19:45:09 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]


----- Original Message -----
From: "Greg Black" <gjb at gbch.net>
To: <general at lists.humbug.org.au>

> Why not have a go at solving it and then come back with a report
> of what you tried and what you got if you still need help?

Already done, with you and Andrew's suggestion's I found the ascii man page
and came up with one line that does exactly what I need (so simple once I
properly understood what the ascii was)

s/[\x00-\x20]//g;

Then I refined it a little to keep the spacing intact:

s/[\x00-\x1F]//g;

Done and done, thanks guys!

Cheers,
        Joe



--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list