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

Re: howto join lines



On Wed, 1 Oct 2008 17:13:22 +0200 David Hláčik wrote:
> i want to have those lines joined to one line with spaces
> Before :
>
> textone
> texttwo
> something
>
> After :
>
> textone texttwo something

Just another option:
paste -s -d " " filename

Or, if the input comes from many single line files:
paste -d " " file1 file2 ... filen

;-)


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