Re: git latest master: a6828f536119c3288b0be772e3870f1a464d017d -- error in t0050-filesystem.sh on Solaris

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 12, 2008 at 09:49:25AM -0400, Whit Armstrong wrote:

> xs5-trd-p1.grn:warmstro> uname -a
> SunOS xs5-trd-p1.grn.tudor.com 5.9 Generic_118558-38 sun4u sparc
> SUNW,Sun-Fire-V240 Solaris
> 
> the Unrecognized switch: -O is from the perl call:
> 
> ++ perl -CO -e 'print pack("U",0x00E4)'
> Unrecognized switch: -O  (-h will show valid options).
> + auml=
> ++ perl -CO -e 'print pack("U",0x0061).pack("U",0x0308)'
> Unrecognized switch: -O  (-h will show valid options).
> + aumlcdiar=

Yes, perl 5.005 doesn't understand -CO. You can replace that with
"binmode STDOUT, ':utf8'", but then you will find that it also doesn't
understand "U" as a pack specifier. :)

While the perl code nicely shows what is going on, perhaps it would be
simpler to just do something like:

  auml=`printf '\xc3\xa4'`

(which is the output that the perl gives on my Linux system).

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux