freebsd-current

[Prev] Thread [Next]  |  [Prev] Date [Next]

bin/134856: sed(1) "addr1,+N" address range Jeremie Le Hen Fri May 22 06:00:40 2009

Hi!

Yesterday there has been a sudden CPU burst on my workstation.  In case
it would happen again, I wanted to use something like
        top -n | sed -n /PID/,+5p
in a loop.

Unfortunately, the above address range is not recognized by sed(1) on
FreeBSD.  I thought it was because I use it very often in Vim.

PR bin/134856 includes a patch to implement this.  The manpage has been
updated as well and this extension is referenced as non-standard along
with the other ones.

Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"