Re: Bash shell scripting help

2009-08-15 Thread Simon Geard
On Fri, 2009-08-14 at 07:38 -0500, James Robertson wrote: > Thanks so much for the explanation. That makes a lot of sense. The > solution you provide works for me. Very useful things, shell functions. For this case, a simple alias would have done just as well, but I use (at work) similar funct

Re: Bash shell scripting help

2009-08-14 Thread James Robertson
Simon Geard wrote: > On Thu, 2009-08-13 at 10:56 -0700, Smartboy wrote: > > >> That is one of the biggest flaws in bash. I ran into the same problem >> a while back when trying to make a script of mine more modular by >> dividing it up into several files. Only way around it that I know of >> is

Re: Bash shell scripting help

2009-08-13 Thread Simon Geard
On Thu, 2009-08-13 at 10:56 -0700, Smartboy wrote: > That is one of the biggest flaws in bash. I ran into the same problem > a while back when trying to make a script of mine more modular by > dividing it up into several files. Only way around it that I know of > is to export it into a file, then

Re: Bash shell scripting help

2009-08-13 Thread Wit
Smartboy wrote: > On Thu, Aug 13, 2009 at 7:58 AM, James Robertson > wrote: > > All > > I know that this list is for LFS support, but I figured that I can get > my question answered here better than anywhere else, so please bear with > me. > > I am

Re: Bash shell scripting help

2009-08-13 Thread Smartboy
On Thu, Aug 13, 2009 at 7:58 AM, James Robertson wrote: > All > > I know that this list is for LFS support, but I figured that I can get > my question answered here better than anywhere else, so please bear with > me. > > I am writing a shell script for another package I downloaded > (ntlm-aps).

Bash shell scripting help

2009-08-13 Thread James Robertson
All I know that this list is for LFS support, but I figured that I can get my question answered here better than anywhere else, so please bear with me. I am writing a shell script for another package I downloaded (ntlm-aps). As part of the script I issue this command: export http_proxy=http