Re: CGP/1.0 specification

Ari Luotonen (luotonen@ptsun00.cern.ch)
Thu, 18 Nov 93 13:22:20 +0100


> * Secondly to test if environment is unlimited in length
> * I did
> * setenv TEST `ls -l`
> * on a 450 file directory. That took an extremly long time in tcsh (an
> * equivalent for csh). You might try this to see how long it takes!

That's probably because you have filename globbing on so tcsh goes
through that stuff searching and matching any wildcards it finds.
With "set noglob":

set FOO=`cat big.html`

completes in less than 2 seconds with a 100K file (on my Sparc IPX
with no heavy load). In Bourne shell it's even faster.

-- Cheers, Ari --