Mailing List Archive


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

[tlug] Re: bash question



bruno raoult wrote:

> Just by googling 5 minutes, I found this solution, which works (i.e. it
> merges lines 1 & 2).
> 
> sed -e "1 N;s/\n/ /"

Interesting. I would not have this expected to work because
sed -e 's/\n/ /'
does nothing, but it actually does work...

-- 
Tobias								PGP: 0x9AC7E0BC
This mail is made of 100% recycled bits

Attachment: pgp00068.pgp
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links