howto join lines

Steve Searle steve at stevesearle.com
Wed Oct 1 15:41:57 UTC 2008


Around 04:13pm on Wednesday, October 01, 2008 (UK time), David Hláčik scrawled:

> Hello guys,
> 
> i want to have those lines joined to one line with spaces
> 
> Before :
> 
> textone
> texttwo
> something
> 
> After :
> 
> textone texttwo something
> 
> So far i have been using fmt -w 2000 , but this is limited to 2000
> characters. There must be something better.

Use vi - commands gqap

Steve

-- 
 
(o<     www.stevesearle.com
//\     Powered by Fedora
V_/_    No MS products were used in the creation of this message

 16:41:01 up 2 days, 23:10,  1 user,  load average: 0.00, 0.00, 0.00
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081001/838385c2/attachment-0001.sig>


More information about the fedora-list mailing list