After an hour of scratching my head, I discovered the following:
In a bash script, if a command is split on two lines like this:
Code:
cp /home/name/dirk/file1 \ <-- (extra space after backslash)
/tmp/xxx/file2
Bash will not put the lines together, so the command fails and line 2 is attempted as a new command.
Is this as dumb as it appears?
Or is it me?