Re: local variables in bash

2009-02-13 Thread Alex Esplin
On Fri, Feb 13, 2009 at 18:56, Chris wrote: > There's nothing inherently right or wrong about dynamic scoping, > though it might serve as tinder for some future plug.org flamefest. Future??? -- Alex Esplin /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman

Re: local variables in bash

2009-02-13 Thread Matthew Walker
On Fri, February 13, 2009 8:43 pm, Chris wrote: > On Fri, Feb 13, 2009 at 8:03 PM, Stuart Jansen wrote: >> On Fri, 2009-02-13 at 18:56 -0700, Chris wrote: >>> though it might serve as tinder for some future plug.org flamefest. >> >> Uhm, actually there is something wrong with dynamic scoping. > >

Re: local variables in bash

2009-02-13 Thread Chris
On Fri, Feb 13, 2009 at 8:03 PM, Stuart Jansen wrote: > On Fri, 2009-02-13 at 18:56 -0700, Chris wrote: >> though it might serve as tinder for some future plug.org flamefest. > > Uhm, actually there is something wrong with dynamic scoping. And thus Stuart launches the first anticipated flaming ar

Re: local variables in bash

2009-02-13 Thread Stuart Jansen
On Fri, 2009-02-13 at 18:56 -0700, Chris wrote: > On Thu, Feb 12, 2009 at 5:24 PM, Merrill Oveson wrote: > > This is a problem with bash > > Problem with bash? > > Because its behavior happens not to align with your prejudices about > scoping rules? > > There's nothing inherently right or wrong

Re: local variables in bash

2009-02-13 Thread Chris
On Thu, Feb 12, 2009 at 5:24 PM, Merrill Oveson wrote: > This is a problem with bash Problem with bash? Because its behavior happens not to align with your prejudices about scoping rules? There's nothing inherently right or wrong about dynamic scoping, though it might serve as tinder for some f

Re: local variables in bash

2009-02-13 Thread Stuart Jansen
On Fri, 2009-02-13 at 11:35 -0700, Levi Pearson wrote: > Yeah, I know it doesn't stand for that officially anymore, but the > legacy is there. Using a hypertext preprocessor for unixioid scripting > sounds similarly braindead, though. It's offensive, not not entirely braindead. PHP includes alot

Re: local variables in bash

2009-02-13 Thread Levi Pearson
Ryan Byrd writes: > PHP hasn't been Personal Home Page for a long time. in 1997, it was > changed to PHP: Hypertext Preprocessor. > > http://us2.php.net/manual/en/history.php.php Yeah, I know it doesn't stand for that officially anymore, but the legacy is there. Using a hypertext preprocessor f

Re: local variables in bash

2009-02-13 Thread Levi Pearson
Ryan Byrd writes: > PHP hasn't been Personal Home Page for a long time. in 1997, it was > changed to PHP: Hypertext Preprocessor. > > http://us2.php.net/manual/en/history.php.php Yeah, I know it doesn't stand for that officially anymore, but the legacy is there. Using a hypertext preprocessor f

Re: local variables in bash

2009-02-13 Thread Stuart Jansen
On Fri, 2009-02-13 at 10:32 -0700, Merrill Oveson wrote: > Perl can do everything a bash script can do and more? (I've played with it > a little in the past.) Well... theoretically any Turing complete language can do everything another Turing complete language can do. But that's not really helpfu

Re: local variables in bash

2009-02-13 Thread Merrill Oveson
Again forgive my ignorance. But before I go off in any direction... Perl can do everything a bash script can do and more? (I've played with it a little in the past.) On Fri, Feb 13, 2009 at 10:19 AM, Stuart Jansen wrote: > On Fri, 2009-02-13 at 10:17 -0700, Merrill Oveson wrote: > > or php? >

Re: local variables in bash

2009-02-13 Thread Levi Pearson
Levi Pearson writes: > Merrill Oveson writes: > >> My original question was: >> >> Would doing this in the C shell solve this problem? >> >> If so, and forgive my ignorance, does the C shell have all the usual easy to >> do: mkdir, mv, awk, sed, etc - capabilities? > > No, it wouldn't solve the

Re: local variables in bash

2009-02-13 Thread Andrew McNabb
On Fri, Feb 13, 2009 at 10:06:25AM -0700, Merrill Oveson wrote: > My original question was: > > Would doing this in the C shell solve this problem? > > If so, and forgive my ignorance, does the C shell have all the usual easy to > do: mkdir, mv, awk, sed, etc - capabilities? If you are going to

Re: local variables in bash

2009-02-13 Thread Ryan Byrd
PHP hasn't been Personal Home Page for a long time. in 1997, it was changed to PHP: Hypertext Preprocessor. http://us2.php.net/manual/en/history.php.php On Fri, Feb 13, 2009 at 10:22 AM, Levi Pearson wrote: > Merrill Oveson writes: > >> or php? >> > > Why would you use "Personal Home Page" for

Re: local variables in bash

2009-02-13 Thread Levi Pearson
Merrill Oveson writes: > or php? > Why would you use "Personal Home Page" for scripting unix commands? At least use perl, which was designed for such things. --Levi /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear

Re: local variables in bash

2009-02-13 Thread Levi Pearson
Merrill Oveson writes: > My original question was: > > Would doing this in the C shell solve this problem? > > If so, and forgive my ignorance, does the C shell have all the usual easy to > do: mkdir, mv, awk, sed, etc - capabilities? No, it wouldn't solve the "problem", which exists in pretty m

Re: local variables in bash

2009-02-13 Thread Stuart Jansen
On Fri, 2009-02-13 at 10:17 -0700, Merrill Oveson wrote: > or php? Only if you have no regard for your immortal soul. -- When you tell me I should give proprietary software a fair technical evaluation because its features are so nice, what you are actually doing is saying "Look at the shine on t

Re: local variables in bash

2009-02-13 Thread Merrill Oveson
or php? On Fri, Feb 13, 2009 at 10:13 AM, Stuart Jansen wrote: > On Fri, 2009-02-13 at 10:06 -0700, Merrill Oveson wrote: > > Would doing this in the C shell solve this problem? > > Friends don't let friend use csh. > > > If so, and forgive my ignorance, does the C shell have all the usual easy >

Re: local variables in bash

2009-02-13 Thread Stuart Jansen
On Fri, 2009-02-13 at 10:06 -0700, Merrill Oveson wrote: > Would doing this in the C shell solve this problem? Friends don't let friend use csh. > If so, and forgive my ignorance, does the C shell have all the usual easy to > do: mkdir, mv, awk, sed, etc - capabilities? Those aren't part of Bash

Re: local variables in bash

2009-02-13 Thread Merrill Oveson
My original question was: Would doing this in the C shell solve this problem? If so, and forgive my ignorance, does the C shell have all the usual easy to do: mkdir, mv, awk, sed, etc - capabilities? On Fri, Feb 13, 2009 at 9:35 AM, Stuart Jansen wrote: > On Fri, 2009-02-13 at 08:27 -0700, Jo

Re: Mail Servers - Dual Delivery?

2009-02-13 Thread Gabriel Gunderson
On Thu, Feb 12, 2009 at 8:51 PM, William Attwood wrote: > How can I accomplish this? Do I need a primary mail server that directs > depending on what the e-mail address is? I think this may be your only option if not using sub-domains: http://www.google.com/support/a/bin/answer.py?answer=77182

Re: local variables in bash

2009-02-13 Thread Stuart Jansen
On Fri, 2009-02-13 at 08:27 -0700, Jon Jensen wrote: > The oldest version of bash I found is 1.14 from 1994, and it had local > too. There doesn't appear to be a public version control repository for > bash, oddly. Wikipedia claims bash was created in 1987, but I can't show > whether it had loca

Re: local variables in bash

2009-02-13 Thread Jon Jensen
On Fri, 13 Feb 2009, Stuart Jansen wrote: I wouldn't be surprised if bash borrowed the behavior & the name from Perl. You've got your history backward there, sonny. Now get off my lawn! You may be just kidding, but I am interested to know the history. Perl gained "local" in Perl 2.0, with t

Re: local variables in bash

2009-02-13 Thread Stuart Jansen
On Thu, 2009-02-12 at 19:10 -0700, Jon Jensen wrote: > I wouldn't be surprised if bash borrowed the behavior & the name from > Perl. You've got your history backward there, sonny. Now get off my lawn! -- When you tell me I should give proprietary software a fair technical evaluation because its