Subject: Re: shell expansions
To: None <wolfgang@wsrcc.com>
From: Chet Ramey <chet@nike.ins.cwru.edu>
List: current-users
Date: 07/31/2000 14:32:29
> But remember that this also effects command line expansion inside
> shell scripts.  There are plenty of times you want dollar-sign
> expansion inside a shell script but don't want what is essentially a
> lame keyboard editing interface.  (If one wants a previous command in
> bash one can use Ctrl-R, or Ctrl-P which is quite a bit more WYSIWYG.)

History expansion is not enabled when the shell is not interactive.  A
quick read of the man page would have told you that.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/