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 c...@case.edu http://cnswww.cns.cwru.edu/~chet/