From: Ollivier Robert Date: 2004-04-20T22:54:07+09:00 Subject: Re: [1.9-16apr] $0 is messed up [copy in case the GW is down] In article , Simon Strandgaard wrote: > guldfaxe 35 # ./ruby -ve '$0="x\0x"; p $0' > ruby 1.6.6 (2001-12-26) [sparc-solaris2.8] > "x" > guldfaxe 36 # > > > server> ruby -ve '$0="x\0x"; p $0' > ruby 1.9.0 (2004-04-16) [i386-freebsd5.1] > "x\000x" > server> ruby18 -ve '$0="x\0x"; p $0' > ruby 1.8.1 (2003-12-22) [i386-freebsd5.1] > "x\000x" > server> The FreeBSD behaviour seems correct to me, I do not see anything that says that #p should not display the "\0". -- Ollivier ROBERT -=- EEC/AMI -=- ollivier.robert@eurocontrol.int Usenet Canal Historique FreeBSD: The Power to Serve!