bug-bash
[Top][All Lists]
Advanced

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

Re: "trap 0" prints usage message


From: Chet Ramey
Subject: Re: "trap 0" prints usage message
Date: Tue, 22 Mar 2005 09:34:59 -0500

> Machine Type: i586-suse-linux
> 
> Bash Version: 3.0
> Patch Level: 0
> Release Status: release
> 
> Description:
>       It appears "trap 0" does no longer restore the default "exit" handler.
>       Instead, a usage message is printed.

This is as Posix specifies.  Posix has deprecated this old syntax.

Patch 3 to bash-3.0 restores enough backwards compatibility to make this
work.

ftp://ftp.cwru.edu/pub/bash/bash-3.0-patches/bash30-003

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    chet@case.edu    http://tiswww.tis.cwru.edu/~chet/




reply via email to

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