4 ms·
That's technically just a regular expression (perl syntax). The vi equivalent would be :%s/_/*/g Which is, replace all occurrences on all lines of '_' wi
by ismarc 16y ago
That's technically just a regular expression (perl syntax). The vi equivalent would be
:%s/_/*/g
Which is, replace all occurrences on all lines of '_' with ' *'
EDIT: Talk about formatting fail...
- jpablo 16y agoIsn't that actually ed/sed syntax?
- BrandonM 16y agoWhat is the world coming to when a correction has to get 3 levels deep before it's actually correct on HN? (And you have less points than either of the ones above you? Seriously?)
- ismarc 16y agoIndeed, quick memory recall failure on my part. It's ed syntax which bled into everything else via POSIX basic. However, given the limited number of symbols present, identification can be considered ambiguous :).