Author: Stan Eisenstat
Subject: Re: [Cs323] -exec false?
Date: Sunday, 06 Sep 2020, 09:24:23
tion for examples of the use of the -exec option. The specified
command is run once for
Bcc: bcc
> Message Posted By: Unknown
>
> Under what conditions do -exec returns 'false' when evaluating the expression? -exec command ;
As stated in "man find", the action of -exec is
Execute command; true if 0 status is returned.
Thus -exec returns true if the status of the command
(i.e., the value returned by system()) is 0 and false
otherwise.
--Stan-
PREV
INDEX
NEXT