help-gnu-utils
[Top][All Lists]
Advanced

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

sed: replace line with file


From: Alan Isaac
Subject: sed: replace line with file
Date: Tue, 26 Feb 2008 16:31:44 GMT
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

I have a marker that should be replaced with a file.
I thought this would work, but it does not.

/myre/{
d
r myfile
}

On the other hand this works:

/myre/{
r myfile
d
}

How to understand?

Thanks,
Alan Isaac
(sed newbie)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]