bug-bash
[Top][All Lists]
Advanced

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

Re: Function declarations produce no trace nor trigger debug trap while


From: Oğuz
Subject: Re: Function declarations produce no trace nor trigger debug trap while having side effects
Date: Thu, 27 Oct 2022 22:49:58 +0300

27 Ekim 2022 Perşembe tarihinde Erik Adelbert <erik@adelbert.fr> yazdı:

> Unless we have missed the related documentation,
>

You have.

> trap [-lp] [[arg] sigspec ...]
> [...] If a sigspec is DEBUG, the command
> arg is executed before every simple command, for
> command, case command, select command, every arithmetic
> for command, and before the first command executes in a
> shell function [...]


-- 
Oğuz


reply via email to

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