Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: printf bug(s?)



On Jun 17,  3:48pm, J wrote:
} Subject: Re: printf bug(s?)
}
} > I may be better off avoiding using \045 anyway and just
} > replace it with %%...
} 
} If I run
} $ printf '\045i' '5+1'
} I would certainly expect it to print 6, and not %i.

Is the printf builtin (or shell utility) specified by POSIX?  If so,
this may be a reasonable question for austin-group interpretation.



Messages sorted by: Reverse Date, Date, Thread, Author