Yes I've tried including the absolute path too.
I figured out that busybox's shell script interpreter isn't that
intelligent yet (the interpreter is called LameShell :p).  functions.sh
can be seen if I put my scripts on /bin.  However, a new problem was
seen, i.e. LameShell does not support functions!!! =(

Any bash-like intelligent shell script interpreter that is "light" you
can recommend?

Thanks,

Rodel

-----Original Message-----
From: eman [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 15, 2004 2:23 AM
To: Philippine Linux Users Group Mailing List
Subject: Re: [plug] Busybox Shell Scripting: Include Files

On Thu, 14 Oct 2004 15:13:46 +0800, Rodel Miguel
<[EMAIL PROTECTED]> wrote:
> Hello Pluggers,
> 
> I am trying to include functions to my main "sh" application from
> another file.  I am using busybox shell.  Here's my routine:
> 
> #!/bin/sh
> # - main.sh
> 
> . functions.sh
> 
> ...
> 
> However, the busybox shell cannot see functions.sh.  My functions.sh
is
> on the same directory as my main application.  Are there other ways of
> including files in shell scripts?
> 
> Thank you very much.
> 
> Regards,
> Rodel
> 

I can't remember any other way at this time, but have you tried using
an abolute path, instead of just "functions.sh" ?

-eman

-- 
http://www.bloodpet.tk/
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to