Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!vaxine!wjh12!genrad!decvax!ittvax!dcdwest!sdcsvax!sdcrdcf!hplabs!sri-unix!gwyn@BRL-VLD.ARPA From: gwyn@BRL-VLD.ARPA Newsgroups: net.unix Subject: Re: use of Kernighan and Pike for 4.2bsd Message-ID: <933@sri-arpa.UUCP> Date: Sat, 16-Jun-84 20:38:16 EDT Article-I.D.: sri-arpa.933 Posted: Sat Jun 16 20:38:16 1984 Date-Received: Wed, 20-Jun-84 00:37:16 EDT Lines: 11 From: Doug Gwyn (VLD/VMB)The main problem you will have with adapting the shell scripts in Kernighan and Pike to use the cshell is that I/O of a control statement cannot be redirected in csh. There are scripts in the book that depend on this facility. Why encourage the use of csh for shell scripts when you can use the Bourne shell even on 4.2BSD? I.e., modify every Bourne shell script to begin with the line #!/bin/sh and your scripts will use the Bourne shell even when invoked by a cshell user.