The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 10-29-2003
sleepster sleepster is offline
Registered User
  
 

Join Date: Sep 2003
Posts: 16
thanks for your reply

i am using vi to do this.. i tried sed and it does not give me the output i want.. Amy Reds , 100 , /bin/sh --> would give me an output without any spaces in between

i want to get the output as --> Amy Reds,100,/bin/sh
there is a space between the first name and the last name

i looked at some web pages and AWK seems to be the answer, however i dont know how to use it.

thanks.