Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!claris!sts!sts!roy From: roy@sts.sts.COM Newsgroups: gnu.bash.bug Subject: minor inconsistency with history Message-ID: <278200006@sts> Date: 30 Nov 89 07:14:10 GMT Lines: 16 Nf-ID: #N:sts:278200006:000:567 Nf-From: sts.sts.COM!roy Nov 29 22:33:00 1989 This inconsistency was found in Bash 1.04 on a Sun3 running SunOS 4.0.3. According to the 'help' command, the 'history' built-in has the following syntax: history [n] [ [ -w -r ] FILENAME ]. This implies that it is possible to have a history command such as 'history 40 -w hist_out' write out the last 40 lines of history to 'hist_out'. But, here's what happens: bash$ history 40 -w hist_out history: extra arguments Of course, the work-around is to simply do 'history 40 >hist_out' instead. (Would 'history 40