Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'problem with macro within shell script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
problem with macro within shell script
Authored by: ste5e on Dec 17, '02 09:27:25AM

The macro works fine when I use it manually, but I can\'t get it to work from within a shell script. For example, if I define a macro called \"grabit\" and call it from a shell script that has alread logged in to an ftp server like so:

ftp ftp.somewhere.com
echo $ grabit (or $ grabit)

. . .the ftp macro is never run. However, I can run it fine manually.



[ Reply to This | # ]