News for hackers. Stuff that matters.
Re:To understand the command line... by ktf on Monday October 01, 2012 @08:06PM (#4600014)
So the "show me matching lines" functionality, which ed users made massive use of, could be summed up as "globally search for the regular expression and print it" - or, in ed format, g/regular expression/p. Or, to shorten it a bit more, g/re/p

Thanks, I've always wondered where "grep" came from! (But somehow have never gained the momentum necessary to look it up...)

Re:To understand the command line... by Dirlewanger on Monday October 01, 2012 @08:12PM (#4600036)
Hahaha, same. This article was full of answers for me regarding Unix stuff that I use everyday and was only half-curious of their origins but never cared enough to look up. Articles like these are the best.