Re: [OT] Scripting question: the length limit of a list?

2007-11-05 Thread s. keeling
Richard Lyons <[EMAIL PROTECTED]>: > On Thu, Nov 01, 2007 at 01:49:03PM -0700, Mike Bird wrote: > > On Thursday 01 November 2007 13:07, Wei Chen wrote: > > > I would like to write a bash script like the following one: > > > > > > for i in `some program that outputs a word list` > > > do > > > ec

Re: [OT] Scripting question: the length limit of a list?

2007-11-01 Thread Wei Chen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Bird wrote: > On Thursday 01 November 2007 13:07, Wei Chen wrote: >> I would like to write a bash script like the following one: >> >> for i in `some program that outputs a word list` >> do >> echo $i >> done >> >> where the word list can be ver

Re: [OT] Scripting question: the length limit of a list?

2007-11-01 Thread Ron Johnson
On 11/01/07 15:07, Wei Chen wrote: > Hi, > > I would like to write a bash script like the following one: > > for i in `some program that outputs a word list` > do > echo $i > done > > where the word list can be very very long. I wonder what is the upper bound > limit of the length of word list

Re: [OT] Scripting question: the length limit of a list?

2007-11-01 Thread Richard Lyons
On Thu, Nov 01, 2007 at 01:49:03PM -0700, Mike Bird wrote: > On Thursday 01 November 2007 13:07, Wei Chen wrote: > > I would like to write a bash script like the following one: > > > > for i in `some program that outputs a word list` > > do > > echo $i > > done > > > > where the word list can be

Re: [OT] Scripting question: the length limit of a list?

2007-11-01 Thread Mike Bird
On Thursday 01 November 2007 13:07, Wei Chen wrote: > I would like to write a bash script like the following one: > > for i in `some program that outputs a word list` > do > echo $i > done > > where the word list can be very very long. I wonder what is the upper bound > limit of the length of wor

[OT] Scripting question: the length limit of a list?

2007-11-01 Thread Wei Chen
Hi, I would like to write a bash script like the following one: for i in `some program that outputs a word list` do echo $i done where the word list can be very very long. I wonder what is the upper bound limit of the length of word lists in "for" loop of a bash script, or does it only depend