|
|
Subscribe / Log in / New account

GNU ed 1.6 released

GNU ed 1.6 released

Posted Jan 5, 2012 2:11 UTC (Thu) by neilbrown (subscriber, #359)
Parent article: GNU ed 1.6 released

We must never forget the greatest legacy that 'ed' has left us.

If 're' is a 'regular expression', then
/re/
will search for it.
/re/p
will search and then print.
g/re/p
will apply this globally - for every line that matches 're', print the line.
So if you wanted to write a program that just printed the lines that match a regular expression - what do you call it?


to post comments

GNU ed 1.6 released

Posted Feb 12, 2012 4:54 UTC (Sun) by dirtyepic (guest, #30178) [Link]

These days? SearchKit.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds