Re: Insert the content of a file (with command r?)
Davide Brini <[email protected]>
| Newsgroups | gmane.editors.sed.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 25 Jul 2012 09:31:36 +0200, Paolo Bonzini <[email protected]> wrote: > Would it make sense to make the "a" command put the current pattern > space on the append ring, like this? > > /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? -- D.