Re: Shell script function problems
phillinux <phillinux@nyc.rr.com>:
>
> 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
Why?
> the command line.
Why?
> 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.
[Eyes roll up in head.] What!?!
> 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??
This is not rocket science. Once they're sourced [but you can't
source them?!?], they're callable. They're in the environment ready
to be used.
How is it you're having a problem with this? What is it, really,
you're trying to do?
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://blinkynet.net/comp/uip5.html Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.
Reply to: