XPost: alt.msdos.batch
On 2023-06-15, Kenny McCormack <
[email protected]> wrote:
In article <u6fvb9$hdk2$[email protected]>,
Ivan Shmakov <[email protected]d> wrote:
...
It's also possible to disable history substitution altogether
with 'set +H'.
I believe this behavior is rather confusing to new users, and
given that C-r (reverse-search-history) and cursor keys already
offer a comparable feature, and one likely to fit better with
user's prior experience at that, my suggestion would be to
have it disabled by default.
I agree. The ! thing was brought over into bash from (t)csh and it is
pretty universally a bad idea.
Do you remember There was a period in the 1990's when tcsh was widely
used? It was popular among early Linux users, too. I remember
getting a default login shell as tcsh on some systems, having
to change it with chsh.
It hink this was a spill-over effect of csh use on proprietary Unix
systems; people coming from that finding an equivalent in tcsh.
Bash aping some tcsh features (even not so good ones) probably helped
wean people off that.
--
TXR Programming Language:
http://nongnu.org/txr
Cygnal: Cygwin Native Application Library:
http://kylheku.com/cygnal
Mastodon: @
[email protected]
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)