2 ms·
Hmm, I always used :.!ls instead of :r!ls... Is there a difference?
by cyberpunk 10y ago
Hmm, I always used :.!ls instead of :r!ls...
Is there a difference?
- rbonvall 10y ago:.!ls means "filter the current line through ls". Since ls ignores stdin, the effect is that the current line gets replaced by its output. :r!ls just inserts the output, without replacing anything.