Strange assignment (UNCLASSIFIED)

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

 



Classification: UNCLASSIFIED
Caveats: NONE

To anyone that can help,


Something has changed between RHEL 4.7 and RHEL 5.4...


RHEL 4.7:


@ D=44 ; echo $D returns 44
@ D=044 ; echo $D returns 44
@ D=08 ; echo $D returns 8


RHEL 5.4:


@ D=44 ; echo $D returns 4
@ D=044 ; echo $D returns 36 --- HUH?
@ D=08 ; echo $D returns @: Badly formed number --- HUH?


Seems to be an octal thing going on.  Would anyone be able to shed some
light in this and how I might get 5.4 to act more like 4.7?

Thanks in advance,
Steve


Classification: UNCLASSIFIED
Caveats: NONE



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux