csh 4.0b vs csh 3.2g

From: Patrick Farley <farley_at_Manassas1.TDS-GN.LMCO.COM>
Date: Wed, 9 Apr 1997 13:28:16 -0400

I have the same script running in both 3.2g and 4.0b, with the same
csh environment.

This is the 3.2g:
>set d = `date '+%d%t%b%t%Y%t%H%t%M%t%S'`
>set d[2] = `echo $d[2] | tr 'A-Z' 'a-z'`
>echo $d
09 apr 1997 13 22 21

Here is the 4.0b:
> set d = `date '+%d%t%b%t%Y%t%H%t%M%t%S'`
> set d[2] = `echo $d[2] | tr 'A-Z' 'a-z'`
> echo $d
09 ąż_at_ 1997 13 21 49

If I use just "echo $d[2] | tr 'A-Z' 'a-z'"
It works fine, but in conjuction with the set $d[2]
it fails.

Any suggestions?
Received on Wed Apr 09 1997 - 19:46:49 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT