Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!dptg!att!occrsh!uokmax!jeffm From: jeffm@uokmax.UUCP (Jeff Medcalf) Newsgroups: comp.unix.wizards Subject: Re: Is sh script faster than csh script ? Message-ID: <3774@uokmax.UUCP> Date: 13 Sep 89 06:25:15 GMT References: <5292@ucdavis.ucdavis.edu> <2555@taux01.UUCP> Reply-To: jeffm@uokmax.UUCP (Jeff Medcalf) Organization: No, it isn't really. Lines: 20 In article <2555@taux01.UUCP> amos@taux01.UUCP (Amos Shapir) writes: > >If your .cshrc is big, it might slow things down considerably - it's read >on every sub-shell. > >-- > Amos Shapir amos@taux01.nsc.com or amos@nsc.nsc.com In order to prevent this, use csh -f (e.g. #!/bin/csh -f). All that this does is to prevent the reading of the .cshrc file (and of course any files sourced by .cshrc, such as the .alias file that many people (at this site, at least) use). However, sh will still be faster. -- jeffm@uokmax.UUCP | Arkansas state motto: At Least We're Not Oklahoma. | Jeff Medcalf +-----------------------------------------------------------+ ----------------| Artificial Intelligence? As opposed to what? | +-----------------------------------------------------------+