@living8bit@mastodon.social
Hah! It's a great help.
I used to do a while loop and use a variable to define whether or not to print the line, but grep -A9999 (or -B9999) is so much easier and faster!
@RL_Dane @living8bit sed -ne "/^ *PID /,p"
@clacke @living8bit@mastodon.social
Ah. I really need to read up on sed. :)
$ man sed
...
The full documentation for sed is maintained as a Texinfo manual. If the info and sed pro‐
grams are properly installed at your site, the command
info sed
should give you access to the complete manual.
EAT ROCKS, GNU!!! ARGH!!!!!
@clacke @living8bit@mastodon.social
With w3m, that's actually tolerable ;)