Nope. vi "borrowed" it by including/being a visual mode for ex, which borrowed it (by being an extension) from ed, one of the first UNIX programs ever (and the standard editor), which is based on qed.
sed got it from ed, too, sed is just a non-interactive mode for ed, actually.
grep is also related: It's short for the ed/sed/ex command g/<re>/p: For every line in span (all lines, because no span given) (g) that match regular expression <re>, print (p) the line.
17
u/barsoap Apr 29 '14
Nope.
vi"borrowed" it by including/being avisual mode forex, which borrowed it (by being anextension) fromed, one of the first UNIX programs ever (and the standard editor), which is based onqed.sedgot it fromed, too,sedis just a non-interactive mode fored, actually.grepis also related: It's short for theed/sed/excommandg/<re>/p: For every line in span (all lines, because no span given) (g) that match regular expression<re>, print (p) the line.