Wrapping long bash commands in script files

Solution 1:

Works fine here. Make sure that the backslash is the very last character on the line, and that the file uses *nix line endings.