bug-bash
[Top][All Lists]
Advanced

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

Re: history not restore stdout


From: Chet Ramey
Subject: Re: history not restore stdout
Date: Wed, 14 Nov 2007 15:58:09 -0500

> 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.

Patch 20 to bash-3.2 should fix this.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                                Live Strong.
Chet Ramey, ITS, CWRU    address@hidden    http://tiswww.tis.case.edu/~chet/




reply via email to

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