On 7/5/12 8:55 AM, Clark WANG wrote: >> On Thu, Jul 5, 2012 at 8:48 PM, Terrence J. Doyle >> <[email protected] <mailto:[email protected]>> >> wrote: >> >> >> But, another reason for bringing this up is that octal numbers used to >> work for >> this purpose in $''. Now (ksh Version AJM 93u+ 2012-06-12), it appears >> that >> 3-digit octal numbers do not work... >> >> $ printf "%o %o\n" $(('_')) $((':')) >> 137 72 >> $ printf $'\0137 \072' | cat -v >> >> > Shouldn't it be written as $'\137' ?
Oops. You're right. I forgot about that. Thanks, Clark. >> >> >> ^K7 : >> $ print $'\0100' # Should be @ >> 0 >> $ print $'\077' # OK >> ? >> >> Is this a bug? >> >> Terrence Doyle _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
