<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Kenneth Brody,<br>
<br>
Well, I thought because these chars. don't happen in a sequence I would
do it individually.<br>
If I do it your way will the tr treat the chars. as a group occurrence,
or individually?<br>
<br>
Richard<br>
<br>
Kenneth Brody wrote:<br>
<blockquote type="cite" cite="mid40EC2049.C36B1D09@bestweb.net">
<pre wrap="">"Jay R. Ashworth" wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Wed, Jul 07, 2004 at 10:20:51AM -0500, Richard D. Williams wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> Thanks to all and a special thanks to Ted Dodd.
Here is what I ended up doing.
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->[...]
</pre>
<blockquote type="cite">
<pre wrap="">That's easier to read, certainly... but it's probably more efficient to
do it as a pipeline:
cat $1 |
tr -d '\000' |
sed 's/~//g' |
tr -d '\r' |
tr -d '\n' |
cat >/appl/servefx/shared/working/$1
</pre>
</blockquote>
<pre wrap=""><!---->[...]
Can't you combine all the "tr -d"s?
tr -d '\000\r\n' | sed 's/~//g' >/appl/servefx/shared/working/$1
</pre>
</blockquote>
</body>
</html>