|
[non-important] Indent here-docs?
I recently coded a typical ftp script looking like
Code:
ftp -n $hostname <<
user $user $pass
<commands..>
quit
!
I know the code fails when you try to indent it like:
Code:
ftp $hostname <<
user $user $pass
<commands..>
quit
!
Just for the sake of neat code, is there a way to indent it at all (because I have that in an IF statement)?
|