Sorting text tabular type data

Joel Hammer Joel
Mon May 17 11:37:07 PDT 2004


I think you made a typo.
Those are TWO blank before the asterisk.
Joel
On Mon, Sep 02, 2002 at 04:36:54PM -0700, stayler wrote:
> ooops,
> 
> This one deletes all the spaces but also puts a comma between every
> character.
> 
> stayler
> 
> 
> Close!
> On Mon, 2 Sep 2002 19:26:33 -0400, Joel Hammer wrote:
> 
> >Piecea cake.
> > sed "s/  */,/g"  file
> >
> >Translation: Look for a space followed by none or many spaces, and replace
> >that pattern with a comma. Do this for very occurrence on the line.
> >Joel
> 
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users


More information about the Linux-users mailing list