I usually spell this as !!:gs/foo/bar/ (in bash). Is there a functional difference?
!!:gs/foo/bar/
! command history can also take line and word selectors. I type something like !-2:2 surprisingly often.
!
!-2:2
I usually spell this as
!!:gs/foo/bar/(in bash). Is there a functional difference?!command history can also take line and word selectors. I type something like!-2:2surprisingly often.