|
Re: Not a bug... but, where is 'sprintf' builtin?: msg#00252shells.bash.bugs
> Machine Type: i686-pc-linux-gnu > > Bash Version: 3.0 > Patch Level: 0 > > Description: > > In ./CHANGES, it mentions 'sprintf' builtin, > > > a. There is a new loadable builtin: sprintf, with calling syntax > > sprintf var format [args] > > This provides an easy way to simulate ksh left- and > right-justified > > variable values. > > Has it been withdrawn? I guess, you can do > var=`printf format [args]` > instead, but... I took it out of the distribution over three years ago. I didn't keep up with the changes to printf, on which it's based, and, at the time, didn't have any portable way to keep it from trivially overwriting its buffers. Now that asprintf/ vasprintf are available more universally, I can look at updating it. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet ) Live...Laugh...Love Chet Ramey, ITS, CWRU chet@xxxxxxxxxxx http://tiswww.tis.cwru.edu/~chet/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | bash hangs when a command containing an umlaut is cycled through in history: 00252, Tuomo Takkula |
|---|---|
| Next by Date: | Get vìagra for a great price.: 00252, Dalton Mosley |
| Previous by Thread: | Re: Not a bug... but, where is 'sprintf' builtin?i: 00252, Chris F.A. Johnson |
| Next by Thread: | Rolex Replicas `: 00252, Reyna K. McCray |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |