The Wanderer wrote:
> Quite some time and several varyingly-significant updates of bash
> ago, I was able to perform history expansion on multi-word commands.
>
> At present and for some while now, it instead expands to
> 
> ls /tmp/ /h

This is also what csh does in this situation too.  This type of
history substitution originated with csh and it would be the standard
against which other implementations would be compared.

  $ csh
  % echo one two three
  one two three
  % echo four five six
  four five six
  % !echo one
  echo four five six one
  four five six one
  % 

But I don't know the code history of this feature in bash.

Bob


Reply via email to