I have a user who is trying to get an MVS file using sftp. Trouble is the MVS dataset starts with '$' and her script attempts to substitute. We are rather new to the Linux world and nobody here is really that good with scripting. In my test script below, the first 'get' works just fine. The second one fails with not found even thought it exist and the user has permission to it.
File "/_'.sftp2bat'" not found. #!/bin/sh sftp [EMAIL PROTECTED] <<END_SCRIPT get /_'zzxzaoe.sftp2bat' test.a get /_'$aoe.sftp2bat' test.b quit END_SCRIPT What is really interesting is that if I execute the sftp interactively, both 'get' statements work. Any hints or code would be appreciated. Thanks Bobby Bauer Center for Information Technology National Institutes of Health Bethesda, MD 20892-5628 301-594-7474 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
