[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Shell script function problems



phillinux wrote:

I'm trying to write a bash shell script to create user accounts that calls 2 functions. I can't call these functions from the script or the command line. The set command seems to show the loaded script in the shell (loaded with . FunctionName at command line) with other environmental variables. ALSO: The type command does not recognize the function.


The script and functions work on my laptop running Fedora (with one small glitch). Is there something I can do to my Debian server to get functions recognized??




If it works on Red Hat, it should work on Debian, both use bash as the default shell.

It would help to know where the files are located, how and when they are loaded.

--
Bob McGowan
Symantec, Inc.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: