cat <
Another documentation issue for :s, and a bug, or two bugs, although it
seems to be one of each. Instead of "Any delimiter may be used in place of
‘/’.", it should be clarified that any character may be used in place of
'/' as a delimiter, although if '&' is used, it looses its special property
of
Regarding the & word modifier, it would be useful to note in the
documentation that it applies the previous substitution whether it had been
successful or not, as shown below.
[root@localhost ~]# echo a
a
[root@localhost ~]# !:s/a/z/
echo z
z
[root@localhost ~]# echo a1
a1
[root@localhost ~]# !:&