Setperms Problems
Tim Fischer
tim.fischer at trinitytransport.com
Fri May 6 11:59:05 PDT 2005
Bob Stockler wrote:
>The set -xv isn't a logging mechanism (executing the script
>program would be that). The -v flag argument to set tells it
>to print the lines it reads in the script. The -x flag tells
>it to print the commands and their arguments as they are
>executed (it also indicates the success or failure of a command
>with a plus or minus, respectively).
>
>That line should have zero effect in the execution of a script,
>only causing it to tell you what it's doing while it does it.
>
>Take it out, as Ken suggested, and try it again.
>
>Bob
>
>
>
Well, it prints the lines to std out, so while it may not be "logging to
a file" (a simple ">> filename" would probably take care of that) it is
still logging it's progress.
My point is, the -xv *should* do absolutely nothing in terms of the
scripts success or failure, but it seems to. In the same token, a
simple "system echo" command should not have any effect on my code, but
it does.
--
Tim Fischer
More information about the Filepro-list
mailing list