Hacker News new | ask | show | jobs
by jlp__inf 92 days ago
Yup, notably the famous %s/PATTERN1/PATTERN2/g, which I suppose comes from sed
1 comments

vi and sed took the s/ syntax from ed, independently of each other.
Right! ed was the first one, and its ideas and commands influenced sed (a "streams" ed), and ex (an "extended" editor, which also had a "vi"sual mode).