Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
On Fri, 6 Apr 2001, Chris Janicki wrote: > How about some negative matching, like: > > s/[^\t-~]//g > > Replace anything that's not between a tab (ASCII #9) and a tilde (ASCII > #126). Disclaimer: I don't know sed... maybe you have to escape the > brackets? > > There's probably also some nomenclature for specifying an ASCII character > code, but I couldn't find it in my references. Maybe consult the man > page for advanced regular expressions? I think it's \142 Also look at the man page for tr. tr is for translating characters. ------------------------------------------------------------------- DDDD David Kramer http://thekramers.net DK KD DKK D "All my life, I always wanted to be somebody. DK KD Now I see that I should have been more specific." DDDD - Lily Tomlin - Subcription/unsubscription/info requests: send e-mail with "subscribe", "unsubscribe", or "info" on the first line of the message body to discuss-request at blu.org (Subject line is ignored).
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |