On Mon, 2003-01-27 at 17:17, Cameron Simpson wrote: > On 09:56 26 Jan 2003, Bret Hughes <[EMAIL PROTECTED]> wrote: > | > | the g/foo/ one I am going to have to read up on before beginning to ask > | > | a question about it :) > | > > | > Thinks of it like a pre-grep for the target lines. > | > | Yeah I get the g/foo/ part it is the .-2,.+2m0 that looks like gibberish > | to me :) > > Find every line containing foo. For each of these, move the 5 lines from > 2 before to to 2 after it to the top of the file. >
Holy headache batman! no wonder i did not recognize the syntax. I have never even dreamed of doing such a thing. Man that is some powerful stuff. Thanks Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list