Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: sed help
- To: tlug@example.com
- Subject: Re: tlug: sed help
- From: Peter Linsley <plinsley@example.com>
- Date: Fri, 04 Dec 1998 13:10:45 +0900
- Content-Type: text/plain; charset=US-ASCII
- In-reply-to: Your message of "Fri, 04 Dec 1998 12:53:55 +0900." <Pine.LNX.4.05.9812041252500.3793-100000@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
Your message dated: Fri, 04 Dec 1998 12:53:55 +0900 > On Fri, 4 Dec 1998, Michael Casinghino wrote: > > > I have a file that is using ^M for line delimitification. How can I > > replace these with LF's? An answer containing the string "sed -e" would > > be most interesting for me. BTW, 'man ascii' says CR = \r = 0x0D and LF = > > \n = 0x0A. > > No sed. > > cat file | tr \\015 \\012 > newfile Here is a sed solution: sed 's/.$//' Regards, Pete ---------------------------------------------------------------- Next Technical Meeting: 12 December, 12:30 *** place TBA *** IMPORTANT: TLUG is looking for a venue for the next meeting if you could host in your university or office, please contact us Next Nomikai: 15 January 1999, 19:30 Tengu TokyoEkiMae 03-3275-3691 ---------------------------------------------------------------- more info: http://tlug.linux.or.jp Sponsors: PHT, HSBC Securities
- References:
- Re: tlug: sed help
- From: Chris Sekiya <chris@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: sed help
- Next by Date: tlug: Help! Floppy disk disaster!
- Prev by thread: Re: tlug: sed help
- Next by thread: tlug: sed help
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links