Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Joining lists on the command line



Leo Howell wrote:
> Say you have a list of items, one per line, such as the output of 
> "ls", "grep" or whatever. As an example, how about:
>
> 	seq 5
> [snip]
> 	seq 5 | tr '\n' ,
>
> ... Can anyone think of something better? ...
>   

# seq -s ',' 5

Edward


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links