[Top][All Lists]

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

Re: Undocumented usage of printf?

From: Jan Schampera
Subject: Re: Undocumented usage of printf?
Date: Thu, 15 Apr 2010 18:00:11 +0200
User-agent: Mozilla-Thunderbird (X11/20100329)

Clark J. Wang schrieb:
> 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? :)

I "documented" it, though I don't remember where I first heard about it.
Maybe I stumbled over it in POSIX (it's specified there).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]