[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
history not restore stdout
From: |
fede |
Subject: |
history not restore stdout |
Date: |
Tue, 13 Nov 2007 17:02:43 -0300 |
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2
uname output: Linux libertad 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007
i686 GNU/Linux
Machine Type: i686-pc-linux-gnu
Bash Version: 3.2
Patch Level: 0
Release Status: release
Description:
history builtin command no reconect stdout if fail:
$ history >new_out bad_argument
-bash: history: bad_argument: numeric argument required
in this case bash conect sdtout to new_out, nex history fail (with bad
argumente) and never reconect to stdout.
Repeat-By:
$ history >new_out bad_argument
- history not restore stdout,
fede <=