[Top][All Lists]

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

Re: DEBUG trap is a job?

From: Chet Ramey
Subject: Re: DEBUG trap is a job?
Date: Mon, 23 Aug 2004 11:04:07 -0400
User-agent: Mozilla Thunderbird 0.7.1 (Macintosh/20040626)

Paul Jarc wrote:

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='/package/misc/spf/bash-3.0-1/share/locale' 
-I/package/misc/spf/bash-3.0-1/spf/readline/include -I. -I./include -I./lib  
-I/nil -I/package/misc/spf/bash-3.0-1/spf/readline/include 
-I/package/misc/spf/bash-3.0-1/spf/ncurses/include -O2 -pipe
uname output: Linux multivac.cwru.edu 2.6.7 #1 SMP Thu Jul 22 12:52:08 EDT 2004 
i686 unknown unknown GNU/Linux
Machine Type: i686-pc-linux-gnu

Bash Version: 3.0
Patch Level: 0
Release Status: release

A DEBUG trap that runs an external command (e.g., trap '/bin/echo foo'
DEBUG) shows up as "Done" in the output of "jobs".  Intentional?

It's a job like any other, executed in the current shell context.

Also, while checking the man page, I noticed that it mentions extglob
in the description of trap; is that supposed to be extdebug?

Yes, thanks.

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

reply via email to

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