[KLUG Members] calling functions from the shell

Peter Buxton members@kalamazoolinux.org
Mon, 9 Dec 2002 17:05:11 -0500


On Mon, Dec 09, 2002 at 03:58:16PM -0500, bill wrote:

> CopyWinHost one two three four
> CopyWinHost five six seven eight

Which explains why it doesn't work.

You define the function CopyWinHost() in the shell script (with, I
guess, the same name -- not good) and then call the shell script as an
outside command but the shell script CopyWinHost doesn't call
CopyWinHost().

-- 
for gpg key: http://killdevil.org/~peter
i'm determined to stand, whether god
will deliver me or not. -- bob dylan