bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is "history -s" supposed to work from .bashrc?


From: Rudolph T Maceyko
Subject: Re: Is "history -s" supposed to work from .bashrc?
Date: Mon, 05 Nov 2001 09:16:39 -0500

Bero & Chet,

--On Monday, November 05, 2001 14:16:14 +0100 Bernhard Rosenkraenzer <bero@redhat.de> wrote:

Hi,
we've just received a bug report stating that adding

history -s "foo"

to .bashrc doesn't have any effect (verified) in 2.05 (it did in
2.04).

echo 'history -s "Microsoft sucks"' >foo.sh
. ./foo.sh

continues to work as expected.

Actually in my report I showed that "history -s" works in .bash_profile, but not when it is in a control structure. I haven't tried it in .bashrc at all.

My full report is available at
<URL: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=55557 >

Is this change intentional?

I'd still like to know this :-)

Thanks,
Rudy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]