I have some processes I'm going to be kicking off that'll take a couple of hours to run, and I'd rather not be logged in to run them. So I tried this:
nohup ./somescript.sh -someflag -param1 /path/to/file.xml -param2 /path/to/bla.log &
It starts, directing output to "nohup.out", but immediately stops, and the only thing in nohup.out is "somescript.sh: bad substitution".
Thinking something was wrong with using args like that, I tried writing another script that basically just contains the above call, and tried this:
nohup ./dumbscript.sh &
But, same problem, bad substitution in nohup.out, only this time it says "dumbscript.sh" has the problem.
Any idears? Usually Google Groups has solutions to all things relating to error messages, but I'm not having any luck.