title: Command line args within <<EOF in a shell script?
body: <p>My current requirement is passing the commands to be executed in SFTP box dynamically to the shell script. My script will contain command sets, username, directory as arguments. Is it possible to achieve this? Currently we tried with sending parameters with files, but for n customers n files will be there. Can we use sftp <code>&lt;&lt;EOF</code> syntax in order to pass the command line arguments from shell script to <code>&lt;&lt;</code> command?</p>