You should be able to shorten the tr and save a pipe ...

tr -d ['\r\n'] < brad.txt > brad2.txt

Larry Hiscock
Western Computer Services


> Thanks for the ideas. dd scared me. Lots of warnings about destroying your
> hard drive. =:O
>
> I figured it out with tr. There might be a way to do it in one step, but
> piping works fine.
>
> tr -d '\r' < brad.txt | tr -d '\n' > brad2.txt
>
>
> U.S. BANCORP made the following annotations
> ---------------------------------------------------------------------
> Electronic Privacy Notice. This e-mail, and any attachments, contains
> information that is, or may be, covered by electronic communications
> privacy laws, and is also confidential and proprietary in nature. If you
> are not the intended recipient, please be advised that you are legally
> prohibited from retaining, using, copying, distributing, or otherwise
> disclosing this information in any manner. Instead, please reply to the
> sender that you have received this communication in error, and then
> immediately delete it. Thank you in advance for your cooperation.
>
>
>
> ---------------------------------------------------------------------
>
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>


_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to