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