Re: Bash usage: was implicit linkage

2014-10-13 Thread Joel Rees
On Mon, Oct 13, 2014 at 10:53 PM, Chris Bannister wrote: > On Mon, Oct 13, 2014 at 02:10:11PM +0900, Joel Rees wrote: >> >> >> >> Which is another way of saying that you want others to have already made >> >> the mistakes for you. >> > >> > No it isn't! Ponder why most people take their car to a

Re: Bash usage: was implicit linkage

2014-10-13 Thread Chris Bannister
On Mon, Oct 13, 2014 at 02:10:11PM +0900, Joel Rees wrote: > >> > >> Which is another way of saying that you want others to have already made > >> the mistakes for you. > > > > No it isn't! Ponder why most people take their car to a mechanic for > > servicing. > > And you snipped: > > >> As long

Re: Bash usage: was implicit linkage

2014-10-12 Thread Joel Rees
On Mon, Oct 13, 2014 at 1:38 PM, Chris Bannister wrote: > On Mon, Oct 13, 2014 at 07:53:03AM +0900, Joel Rees wrote: >> 2014/10/13 2:14 "Andrei POPESCU" : >> > >> > On Du, 12 oct 14, 10:30:52, The Wanderer wrote: >> > > On 10/12/2014 at 10:07 AM, Andrei POPESCU wrote: >> > > >> > > > Any program t

Re: Bash usage: was implicit linkage

2014-10-12 Thread Chris Bannister
On Mon, Oct 13, 2014 at 07:53:03AM +0900, Joel Rees wrote: > 2014/10/13 2:14 "Andrei POPESCU" : > > > > On Du, 12 oct 14, 10:30:52, The Wanderer wrote: > > > On 10/12/2014 at 10:07 AM, Andrei POPESCU wrote: > > > > > > > Any program that requires additional scripting just to get it running > > > >

Re: Bash usage: was implicit linkage

2014-10-12 Thread Joel Rees
2014/10/13 2:45 "Steve Litt" : > > On Sun, 12 Oct 2014 09:33:43 +0100 > Martin Read wrote: > > > On 12/10/14 04:12, Peter Zoeller wrote: > > > But the nice > > > thing is shell scripting is simplistic easy to learn and understand. > > > > I refer the audience to David A. Wheeler's essay[1] on how

Re: Bash usage: was implicit linkage

2014-10-12 Thread Joel Rees
2014/10/13 2:14 "Andrei POPESCU" : > > On Du, 12 oct 14, 10:30:52, The Wanderer wrote: > > On 10/12/2014 at 10:07 AM, Andrei POPESCU wrote: > > > > > Any program that requires additional scripting just to get it running > > > is insufficiently advanced. > > > > > > (you can quote me on that) > > >

Re: Bash usage: was implicit linkage

2014-10-12 Thread Joel Rees
2014/10/12 23:07 "Andrei POPESCU" : > > On Sb, 11 oct 14, 21:40:49, Steve Litt wrote: > > > > From my viewpoint, shellscripts were never intended to be big, huge > > programs. To me, they just glue together commands, and have a few > > rudimentary branching and looping constructs. > > Isn't that li

Re: Bash usage: was implicit linkage

2014-10-12 Thread Steve Litt
On Sun, 12 Oct 2014 11:16:54 -0700 Don Armstrong wrote: > On Sun, 12 Oct 2014, Steve Litt wrote: > > This essay practically screams out for somebody to write a C program > > that takes an argument of an arbitrary string, finds all files in a > > directory, and returns a long string with those fil

Re: Bash usage: was implicit linkage

2014-10-12 Thread Ansgar Burchardt
Don Armstrong writes: > On Sun, 12 Oct 2014, Steve Litt wrote: >> This essay practically screams out for somebody to write a C program >> that takes an argument of an arbitrary string, finds all files in a >> directory, and returns a long string with those files separated by the >> arbitrary strin

Re: Bash usage: was implicit linkage

2014-10-12 Thread Steve Litt
On Sun, 12 Oct 2014 17:07:01 +0300 Andrei POPESCU wrote: > On Sb, 11 oct 14, 21:40:49, Steve Litt wrote: > > > > From my viewpoint, shellscripts were never intended to be big, huge > > programs. To me, they just glue together commands, and have a few > > rudimentary branching and looping constru

Re: Bash usage: was implicit linkage

2014-10-12 Thread Miles Fidelman
Andrei POPESCU wrote: On Sb, 11 oct 14, 21:40:49, Steve Litt wrote: From my viewpoint, shellscripts were never intended to be big, huge programs. To me, they just glue together commands, and have a few rudimentary branching and looping constructs. Isn't that like buying IKEA furniture, but whe

Re: Bash usage: was implicit linkage

2014-10-12 Thread Don Armstrong
On Sun, 12 Oct 2014, Steve Litt wrote: > This essay practically screams out for somebody to write a C program > that takes an argument of an arbitrary string, finds all files in a > directory, and returns a long string with those files separated by the > arbitrary string. You seem to be looking fo

Re: Bash usage: was implicit linkage

2014-10-12 Thread The Wanderer
On 10/12/2014 at 01:42 PM, Steve Litt wrote: > On Sun, 12 Oct 2014 09:33:43 +0100 Martin Read > wrote: > >> On 12/10/14 04:12, Peter Zoeller wrote: >> >>> But the nice thing is shell scripting is simplistic easy to learn >>> and understand. >> >> I refer the audience to David A. Wheeler's essa

Re: Bash usage: was implicit linkage

2014-10-12 Thread Steve Litt
On Sun, 12 Oct 2014 09:33:43 +0100 Martin Read wrote: > On 12/10/14 04:12, Peter Zoeller wrote: > > But the nice > > thing is shell scripting is simplistic easy to learn and understand. > > I refer the audience to David A. Wheeler's essay[1] on how to handle > filenames correctly in shell scrip

Re: Bash usage: was implicit linkage

2014-10-12 Thread Andrei POPESCU
On Du, 12 oct 14, 10:30:52, The Wanderer wrote: > On 10/12/2014 at 10:07 AM, Andrei POPESCU wrote: > > > Any program that requires additional scripting just to get it running > > is insufficiently advanced. > > > > (you can quote me on that) > > Part of the tradeoff for power is responsibility -

Re: Bash usage: was implicit linkage

2014-10-12 Thread The Wanderer
On 10/12/2014 at 10:07 AM, Andrei POPESCU wrote: > On Sb, 11 oct 14, 21:40:49, Steve Litt wrote: > >> From my viewpoint, shellscripts were never intended to be big, >> huge programs. To me, they just glue together commands, and have a >> few rudimentary branching and looping constructs. > > Isn'

Re: Bash usage: was implicit linkage

2014-10-12 Thread Andrei POPESCU
On Sb, 11 oct 14, 21:40:49, Steve Litt wrote: > > From my viewpoint, shellscripts were never intended to be big, huge > programs. To me, they just glue together commands, and have a few > rudimentary branching and looping constructs. Isn't that like buying IKEA furniture, but when you get home yo

Re: Bash usage: was implicit linkage

2014-10-12 Thread Martin Read
On 12/10/14 04:12, Peter Zoeller wrote: But the nice thing is shell scripting is simplistic easy to learn and understand. I refer the audience to David A. Wheeler's essay[1] on how to handle filenames correctly in shell scripts, and to the bug report that he filed against POSIX.1-2008[2] on t

Re: Bash usage: was implicit linkage

2014-10-11 Thread Peter Zoeller
Hi Steve: I agree that shell scripts are simplistic and not meant for fancy programs although it could be done, just not productive. But the nice thing is shell scripting is simplistic easy to learn and understand. Sure beats the days when I wrote code in Assembler, Cobol, Fortran, PL1, RPG,

Re: Bash usage: was implicit linkage

2014-10-11 Thread Chris Bannister
On Sat, Oct 11, 2014 at 09:40:49PM -0400, Steve Litt wrote: > > Now that I've said that, you can accomplish some pretty incredible > things by gluing a few commands together. I wrote the better half of a > http log evaluation program using a shellscript gluing together grep, > cut, and awk, and pi