before you go too far down this rathole, have a look at this famous article:
http://www.perl.com/pub/language/versus/csh.html
Section 1 addresses this problem and how csh is braindead in this area.
cheers
andrew
">jwmason@hushmail.com wrote:
> I need to write a while read loop in c shell that looks like the following
> korn shell script fragment:
>
> #!/bin/ksh
> # input_file_name.txt has 150 records with one field per record
> #
> exec 5< input_file_name.txt
> #
> while read -u5 field_1
> do
> .
> .
> .
> done
>
> I have only been writing korn shell scripts for the last four years so my
> c shell
> scripting is a bit rusty.
>
> Jan Mason
> ">jwmason@hushmail.com
>
> IMPORTANT NOTICE: If you are not using HushMail, this message could have been read easily by the many people who have access to your open personal email messages.
> Get your FREE, totally secure email address at http://www.hushmail.com.
>
> --
> To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.