Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1
On 4/15/10 10:21 AM, Clark J. Wang wrote:
> I saw a printf usage from a Linux forum's post:
>
> # printf "%d\n" "'a"
> 97
> #
>
> It's really cool but I found no info in bash's manual. Are there any other
> undocumented interesting features? :)
They're in Posix. Thanks for pointing out the omission; I will add
descriptions for the next release of bash.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/