[Linux-disciples] help me write a shell script
Stephen R Laniel
steve at laniels.org
Thu Jul 17 12:09:21 EDT 2008
On Thu, Jul 17, 2008 at 12:05:19PM -0400, Dylan Paul Thurston wrote:
> On Thu, Jul 17, 2008 at 09:37:09AM -0400, Jamie Forrest wrote:
> > 2) Search for all instances in file4 of funky special chars and
> > delete: Ôªø
> Steve has already helped you with this, but let me just point to the
> command 'tr'. I think
> tr -d -c [:print:] < file1 > file2
> might do what you want.
Huh! I wasn't aware of :print:, but it
stands to reason. That's handy.
I think some of the characters he wants
to delete are printable.
--
Stephen R. Laniel
steve at laniels.org
Cell: +(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
More information about the Linux-disciples
mailing list