From owner-freebsd-hackers Thu Feb 15 14:35:20 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA29323 for hackers-outgoing; Thu, 15 Feb 1996 14:35:20 -0800 (PST) Received: from fslg8.fsl.noaa.gov (fslg8.fsl.noaa.gov [137.75.131.171]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA29315 for ; Thu, 15 Feb 1996 14:35:16 -0800 (PST) Received: by fslg8.fsl.noaa.gov (5.57/Ultrix3.0-C) id AA04646; Thu, 15 Feb 96 16:34:24 -0600 Received: by emu.fsl.noaa.gov (1.38.193.4/SMI-4.1 (1.38.193.4)) id AA20172; Thu, 15 Feb 1996 15:34:23 -0700 Date: Thu, 15 Feb 1996 15:34:23 -0700 From: kelly@fsl.noaa.gov (Sean Kelly) Message-Id: <9602152234.AA20172@emu.fsl.noaa.gov> To: muir@idiom.com Cc: msmith@atrad.adelaide.edu.au, freebsd-hackers@freebsd.org In-Reply-To: <199602151811.KAA07180@idiom.com> (message from David Muir Sharnoff on Thu, 15 Feb 1996 10:11:56 -0800) Subject: Off-topic; was Re: Re: An ISP's Wishlist... Sender: owner-hackers@freebsd.org Precedence: bulk >>>>> "David" == David Muir Sharnoff writes: David> Or #!/bin/csh Eyuck! Although I'm not fond of Tom Christiansen, I refer you to his article ``C Shell Programming Considered Harmful.'' Look for it at http://www.cis.ohio-state.edu/hypertext/faq/usenet/unix-faq/shell/csh-whynot/faq.html. And given all that listed in that article, also note that the csh version of the script has a running set size of about 100k larger than the sh version. And since it's just plain old #!/bin/csh (no -f, or better yet, -bf), it'll read your ~/.cshrc and grab aliases, settings, and other what-not it'll never use. DON'T write csh scripts. -- Sean Kelly NOAA Forecast Systems Laboratory, Boulder Colorado USA I think people tend to forget that trees are living creatures. They're sort of like dogs. Huge, quiet, motionless dogs, with bark instead of fur. -- Jack Handey