On Thu, Oct 14, 2004 at 03:13:46PM +0800, Rodel Miguel 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 >
you can try #!/bin/sh # - main.sh source function.sh ... have you tried renaming function.sh to just function or some other name? -- 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
