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 -->
  #6 (permalink)  
Old 04-21-2009
fwellers fwellers is offline
Registered User
  
 

Join Date: Mar 2008
Location: Northern, VA
Posts: 23
Quote:
Originally Posted by colemar View Post
colemar@deb:~$ cat inputfile
one
two
three
four
five
colemar@deb:~$ echo red,blue,white,$(tr '\n' ',' < inputfile)
red,blue,white,one,two,three,four,five,[/CODE]
Ok Colemar, I just saw this latest change you did. It will work.
Thank you !

Obviously you were able to wade through my unatural language in order to determine what I was asking for. Good job :-)

Thanks again.

Floyd