Valent Turkovic wrote:
I get an error when trying to start this script:
./gaim-start.sh
./gaim-start.sh: line 5: script-file=~/gaim-start.sh: No such file or
directory
./gaim-start.sh: line 20: $script: ambiguous redirect
I tried to edit line 5 and change "script-file" to "$script-file"
and
that also didn't work so I tried changing it to "$script" and it still
doesn't work...
I don't know enough bash to troubleshoot it.
Thank you for your feedback and help Mikkel.
Valent.
Please do not top post!
I should have tested the script. It does not like script-file, so
replace it with script_file. In line 20, there is a typo - it should
be $script_file instead of $script file. ($script-file with the
original value.)
Mikkel
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting a bad thing?