From: Myers, Drew (MyersD@GOALAMO.COM)
Date: Wed Apr 30 2003 - 14:29:52 EDT
if you have perl installed:
perl -pi.old -e 's/\n//' filename
this will create a backup copy of the file called filename.old with no
changes, and make the appropriate changes in the file called filename.
I believe tr could also do the same thing (and probably shorter and faster).
Drew
-----Original Message-----
From: phsol [mailto:phsol@UOL.COM.BR]
Sent: Wednesday, April 30, 2003 2:29 PM
To: aix-l@Princeton.EDU
Subject: None
I'd like to know what can I do to convert a whole text with
many lines into one single line .
Is there any command to do that ? We canīt use "vi" because
the file is very large and the process is scheduled .
Thanks.
--- UOL, o melhor da Internet http://www.uol.com.br/
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:47 EDT