Search Results

Search: Posts Made By: wolfv
2,814
Posted By MadeInGermany
After -prune there must be -o (or, otherwise) in...
After -prune there must be -o (or, otherwise) in order to continue with files or non-pruned directories. Then if not a directory and name ends with pdf and name does not have _nobackup then print....
1,734
Posted By vgersh99
loose "-s or use ${HOME} instead of ~
loose "-s or use ${HOME} instead of ~
14,531
Posted By rovf
In your modified example, I don't see that you...
In your modified example, I don't see that you would execute load.sh anywhere. What effect would you like to see? Please provide a complete transscript, showing what you are doing.
14,531
Posted By RudiC
For debug purposes, you might want to pwd in each...
For debug purposes, you might want to pwd in each and every script, and also ls the relevant paths/scripts.
14,531
Posted By RudiC
What if you run ../tut0/load.sh without test?...
What if you run ../tut0/load.sh without test? And, how about setting bash's xtrace option?
14,531
Posted By Don Cragun
The bash shell script: #!/bin/bash return...
The bash shell script:
#!/bin/bash

return main
does not make any attempt to run the utility named main. And, as jim mcnamara already said, you don't use return to exit from a bash shell script....
14,531
Posted By Scrutinizer
Try: if ./load.sh ; then echo "0" else ...
Try:
if ./load.sh ; then
echo "0"
else
echo "1"
fi

--
See test: operands (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_05)
string
True if the...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 04:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy