Re: howto join lines

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

 



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

;-)

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux