News for hackers. Stuff that matters.
Re:How to navigate directories faster with Bash (2015) by alex_smart on Thursday April 22, 2021 @06:16AM (#26900981)
I know that this expansion exists, but never use it in practice.

Why? The last command is more general, you can just drop the g from the command I wrote to only replace the first occurrence. Besides, :[g]s/old/new should already be familiar to anyone who has used vim, so that is almost like having to learn zero new things.

There are no comments on this comment yet.