4 ms·
By mentioning sed and line-oriented, I means you don't have to read all content of stdin (i.e. full buffering) before matching.
by voaie 10y ago
By mentioning sed and line-oriented, I means you don't have to read all content of stdin (i.e. full buffering) before matching.
- ezekg 10y agoOkay yes, you're correct; xo does not buffer stdin, because the regular expression pattern may span the entire contents.