🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #4031

Bash history weirdness

#4031
From: John
Date: Sat, 03 Oct 2009 09:54
15 lines
1315 bytes
Hi,

Bash's history command is behaving oddly.

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.

Any ideas for what might be causing this? Any obvious shell options or
suchlike that I should check?

Cheers,
John
Technical Details
Message-ID: <slrnhce7qc.32e.nospam@nospam.invalid>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!de-l.enfer-du-nord.net!gegeweb.org!aioe.org!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 983ad15114,c07e939ceee396af,start
X-Google-Attributes: gid983ad15114,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.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: Bash history weirdness
Followup-To: comp.unix.shell
Date: Sat, 3 Oct 2009 09:54:00 +0000 (UTC)
Organization: Aioe.org NNTP Server
Lines: 16
Message-ID: <slrnhce7qc.32e.nospam@nospam.invalid>
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:1sAaq88fJscwYjlpL/d3Syt/cjM=
User-Agent: slrn/pre1.0.0-2 (Linux)