On 5 March 2010 08:17, Peter A. Cejchan <[email protected]> wrote:
> hi,
> i would like to append next line if current ends with ']'
> however
>
>     sed '/\]$/N' foo
>
> does not work...
> ++pac

I quickly tried
sed -e '/]$/N' -e 's/\n//'
in linux and it did it...
But maybe you must adjust it a bit

Ruda

Reply via email to