scripting question

From: dakotak1d@netscape.net
Date: Thu Sep 05 2002 - 14:12:15 EDT


Gurus,
This ones' a bit off topic, but I'm sure an easy one for some of you sed/awk heads.....I have have these files that have one username per line, i.e.

user1,
user2,
user3,

How can I get these lines concatenated onto the same line so this file contents would look like:

user1,user2,user3

I've tried using sed to strip out the return ascii return code /15 (by generating a ^M in the sed script with vi) but that doesn't seem to get them 'together'.

TIA

Dakota

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:53 EDT