Script troubles.

John Whitfield john_whitfield at email.com
Thu Apr 5 20:15:48 EDT 2001


Hullo,

I'm having trouble with a UNIX script (K-shell in HP-UX) and was hoping
someone could help.  I've got a file I'm trying to send that has bad
characters in it (ASCII 142).  I could write a C program, but I'm trying to
avoid that.  Is there a way I could get a shell command to do something like
this:

cat infile.dat | sed "s/<<junk>>/<<blank>>/g" > outfile.dat

The stream editor is easy enough, but I can't seem to get it to recognize
the bad character.  Any ideas?

AdvThanxance,
John Whitfield


-----------------------------------------------
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com


-
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).



More information about the Discuss mailing list