Timeline for How to grep a specific line _and_ the first line of a file?
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 12, 2012 at 14:37 | comment | added | dotancohen | I don't see why this was downvoted, it certainly is a viable option. Upvoting. | |
| Sep 12, 2012 at 13:30 | comment | added | Alfe | Changes between the two calls aren't to be bothered in this situation. The first will only provide the headline which will always fit to the output of the second. | |
| Sep 12, 2012 at 11:19 | comment | added | Shadur-don't-feed-the-AI | I don't like this solution, primarily because the situation could change between the first and second ps aux call... And if you just want that static first line, why not echo it manually? | |
| Sep 12, 2012 at 11:08 | history | answered | emcconville | CC BY-SA 3.0 |