Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!comp.vuw.ac.nz!massey.ac.nz!ARaman From: ARaman@massey.ac.nz (A.V. Raman) Newsgroups: comp.unix.questions Subject: Re: removing end of line mark with sed Message-ID: <917@massey.ac.nz> Date: 20 Aug 90 05:36:26 GMT References: <1990Aug19.194911.16628@fs-1.iastate.edu> Reply-To: ARaman@massey.ac.nz (A.V. Raman) Organization: Massey University, Palmerston North, New Zealand Lines: 11 In article <1990Aug19.194911.16628@fs-1.iastate.edu> spam@iastate.edu (Begley Michael L) writes: >Here's a simple one... >How do I remove the end of line marker from a stream? for example, > >I tried sed 's/\n//' but that didn't work. Thanks. tr -d \\012 will do the trick. -& (Anand)