Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: sed help



> On Fri, 4 Dec 1998, Chris Sekiya wrote:
> 
> > cat file | tr -d \\015 > newfile

This will only work if there are CRLF's. Only ^M was used in this file.
(It was downloaded from www.superbad.com).  Anyway, I just wanted to read
it, and less did't break the lines.  But this brings up another question.
Why not this: 
tr -d \\015 < file > newfile  

Is this the same, or does cat (the program) do something special? 


------------------------------------------------------------------
Next Technical Meeting: 12 December, 12:30 at Temple Univ. Japan
*NEW LOCATION* a map is available at http://www.tuj.ac.jp/maps.html
Next Nomikai: 15 January 1999, 19:30 Tengu TokyoEkiMae 03-3275-3691
------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links