Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Tiago Natel
AFAIK, NPROC is a env variable of mk. On Oct 17, 2017 13:08, "Giacomo Tesio" wrote: > Also, why NPROC has been left uppercase? :-) > > > Giacomo > > 2017-10-17 17:45 GMT+02:00 Giacomo Tesio : > >> In *rc* you use quotation marks when you want a syntax

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Charles Forsyth
WAT! or should that be "wat!" On 17 October 2017 at 22:49, Jules Merit wrote: > Gun Control UTF8, sgi 0xfbc bowling for columbine > > On Tue, Oct 17, 2017 at 2:45 PM, Jules Merit > wrote: > > E4M1 Charles, dm > > E3M8

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Jules Merit
Gun Control UTF8, sgi 0xfbc bowling for columbine On Tue, Oct 17, 2017 at 2:45 PM, Jules Merit wrote: > E4M1 Charles, dm > E3M8 Dis 9/11 > > On Tue, Oct 17, 2017 at 2:12 PM, Jules Merit > wrote: >> 0x8000 ...

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Jules Merit
E4M1 Charles, dm E3M8 Dis 9/11 On Tue, Oct 17, 2017 at 2:12 PM, Jules Merit wrote: > 0x8000 ... obviously it wastes time when running plan9 as RTL in a > HDL simulator. > > On Tue, Oct 17, 2017 at 11:28 AM, Anthony Martin wrote: >>

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Jules Merit
0x8000 ... obviously it wastes time when running plan9 as RTL in a HDL simulator. On Tue, Oct 17, 2017 at 11:28 AM, Anthony Martin wrote: > Note that variables in the Mashey shell were single letters > in lower-case. $p was similar to $PATH in the Bourne shell. > > Maybe

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Anthony Martin
Note that variables in the Mashey shell were single letters in lower-case. $p was similar to $PATH in the Bourne shell. Maybe Tom just split the difference. Have you asked him? :) Anthony

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Dan Cross
On Tue, Oct 17, 2017 at 12:04 PM, Giacomo Tesio wrote: > Also, why NPROC has been left uppercase? :-) I once had a mathematics professor who advised me not to look for rationality or logic in nomenclature. I've found that, since taking this advice to heart, my life is much less

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Giacomo Tesio
2017-10-17 18:00 GMT+02:00 Skip Tavakkolian : > On Tue, Oct 17, 2017, 8:05 AM Giacomo Tesio wrote: > >> Really? Just aesthetics? :-o >> > > >> This would flips the question a bit: I wonder why the same designers >> chose uppercase variable names

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Giacomo Tesio
Also, why NPROC has been left uppercase? :-) Giacomo 2017-10-17 17:45 GMT+02:00 Giacomo Tesio : > In *rc* you use quotation marks when you want a syntax character to >> appear in an argument, or an argument that is the empty string, and at no >> other time. IFS is no longer

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Skip Tavakkolian
On Tue, Oct 17, 2017, 8:05 AM Giacomo Tesio wrote: > Really? Just aesthetics? :-o > > This would flips the question a bit: I wonder why the same designers chose > uppercase variable names while designing Unix... :-) > Programs can evolve, why not names? There was no

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Teodoro Santoni
Hi, 2017-10-17 16:38 GMT+02:00, Giacomo Tesio : > Out of curiosity, do anybody know why Plan9 designers chose lowercase > variables over uppercase ones? > > At first, given the different conventions between rc and sh (eg $path is an > array, while $PATH is a string), I supposed

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Giacomo Tesio
> > In *rc* you use quotation marks when you want a syntax character to > appear in an argument, or an argument that is the empty string, and at no > other time. IFS is no longer used, *except in the one case where it was > indispensable*: converting command output into argument lists during >

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Charles Forsyth
> > since for example the original Rc paper still referred to $IFS. really? the only references to IFS I can find are in comparisons of $ifs to the Bourne shell's $IFS On 17 October 2017 at 16:05, Giacomo Tesio wrote: > Really? Just aesthetics? :-o > I supposed it had some

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Giacomo Tesio
Really? Just aesthetics? :-o I supposed it had some practical goal I was missing, since for example the original Rc paper still referred to $IFS. This would flips the question a bit: I wonder why the same designers chose uppercase variable names while designing Unix... :-) Giacomo 2017-10-17

Re: [9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Dan Cross
On Tue, Oct 17, 2017 at 10:38 AM, Giacomo Tesio wrote: > Out of curiosity, do anybody know why Plan9 designers chose lowercase > variables over uppercase ones? > > At first, given the different conventions between rc and sh (eg $path is an > array, while $PATH is a string), I

[9fans] Why Plan 9 uses $ifs instead of $IFS?

2017-10-17 Thread Giacomo Tesio
Out of curiosity, do anybody know why Plan9 designers chose lowercase variables over uppercase ones? At first, given the different conventions between rc and sh (eg $path is an array, while $PATH is a string), I supposed Plan 9 designers wanted to prevent conflict with unix tools relying to the