Re: Please stop re-adding gtk-update-icon-cache scriptlets (for Fedora)

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

 



On 20/01/18 05:08, Chris Adams wrote:
> Once upon a time, Nico Kadel-Garcia <nkadel@xxxxxxxxx> said:
>> I don't see any modern scripting language where a leading 0 would lead
>> to interpreting a number as octal.
> 
> I suggest you check again; I don't see any where a leading 0 does NOT
> lead to interpreting a number as octal  Here are a few common scripting
> languages (just what I have installed):
> 
> $ python -c 'print(010 + 1)'
> 9
> $ bash -c 'echo $((010 + 1))'
> 9
> $ perl -le 'print 010 + 1'
> 9
> $ ruby -e 'puts 010 + 1'
> 9
> $ d8 -e 'print(010 + 1)'
> 9
> 

Yes, bash and perl would be where I picked that up from, enough to want
to double-check. I kind of figured that if rpmbuild did interpret it as
octal, it probably would've blown things up well before now, just wanted
to make sure.

-- 
J. Randall Owens | http://www.GhiaPet.net/

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux