🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #4032

Re: Bash history weirdness

#4032
From: John
Date: Sun, 04 Oct 2009 15:50
14 lines
1443 bytes
On  3 Oct 2009 at 20:19, Wanna-Be Sys Admin wrote:
> John wrote:
>> If I do "history -w" then it writes the current history to
>> ~/.bash_history as expected.
>> 
>> But if I do "history -a" then ~/.bash_history doesn't get changed, and
>> from the modification time it hasn't been touched at all.
>
> Where they "new" history lines, or did you run that right after -w?

Yes, there was history to write!

Actually what happened was that I noticed "history -a" wasn't working,
then tried "history -w" and was surprised to find that it *did* work.
Technical Details
Message-ID: <slrnhchh3g.b6h.nospam@nospam.invalid>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!de-l.enfer-du-nord.net!gegeweb.org!aioe.org!not-for-mail
References: <slrnhce7qc.32e.nospam@nospam.invalid> <xlOxm.23101$As.8465@newsfe13.iad>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!de-l.enfer-du-nord.net!gegeweb.org!aioe.org!not-for-mail
From: John <nospam@nospam.invalid>
Newsgroups: comp.unix.shell,gnu.bash.bug,comp.os.linux.misc
Subject: Re: Bash history weirdness
Followup-To: comp.unix.shell
Date: Sun, 4 Oct 2009 15:50:52 +0000 (UTC)
Organization: Aioe.org NNTP Server
Lines: 15
Message-ID: <slrnhchh3g.b6h.nospam@nospam.invalid>
References: <slrnhce7qc.32e.nospam@nospam.invalid>
 <xlOxm.23101$As.8465@newsfe13.iad>
NNTP-Posting-Host: nosqPqrRsg/NesY4V4iTyQ.user.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
X-Notice: Filtered by postfilter v. 0.8.0
Cancel-Lock: sha1:nXBXAnULW4oOwxY7HPbGSwUNNYs=
User-Agent: slrn/pre1.0.0-2 (Linux)