in reply to Removing characters
If you're redirecting output from man, you don't want to remove the ^H first, it's valuable information. Something like:
% man ls | perl -pe 's/.^H//g;' > foo
will remove both the ^H and the duplicate character at the same time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Removing characters
by mr.nick (Chaplain) on Jan 09, 2001 at 01:39 UTC | |
|
Re: Re: Removing characters
by japhy (Canon) on Jan 09, 2001 at 01:44 UTC |