[Top][All Lists]

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

Re: Possibly a bug

From: Chet Ramey
Subject: Re: Possibly a bug
Date: Fri, 24 Apr 2015 09:45:16 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 4/23/15 3:28 AM, Valentin Bajrami wrote:
> Chet,
> 'history' is not the builtin command in this case. 'history' is a normal
> file containing awk code (see my first post).  I named it history because
> it does some calculations and shows the 10 most used commands. The file is
> expecting some input from a command (pipe) like the 'history' builtin command.

OK, that turned out to be the key.  I figured out the cause: a combination
of a shell function running as part of a pipeline run by an interactive
shell, running an external command from the file system.  The fix will be
in the next release of bash.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

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