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. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/