Re: Insert the content of a file (with command r?)

Paolo Bonzini <[email protected]>
Newsgroups gmane.editors.sed.user
Message-ID <[email protected]>
Il 25/07/2012 13:48, Davide Brini ha scritto:
>> > /pattern/ {
>> >   r file.txt
>> >   a
>> >   d
>> > }
>> > 
>> > Similarly, "A" would put the cufirst line of pattern space on the append
>> > ring.
>> > 
>> > Opinions?
> AFAICT the "a" command already exists and has different syntax and
> semantics. Perhaps a GNU sed extension using a new command altogether?

The "a" command without arguments is an error right now.

Paolo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.