Re: [PATCH] grep: make show_line more portable
- From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
- Date
- Mar 9, 2009, 19:34 UTC
- Message-ID
- <49B56F2B.1080402@lsrfire.ath.cx>
- In-Reply-To
- <5ACAF49A-84B5-4F55-A8B8-0FC711708810@silverinsanity.com>
Brian Gernhardt schrieb:
Show 13 quoted lines
> > On Mar 8, 2009, at 10:22 PM, Jay Soffian wrote: > >> On Sun, Mar 8, 2009 at 9:15 PM, Brian Gernhardt >> <benji@silverinsanity.com> wrote: >>> On OS X the printf specifier "%.0s" outputs the entire string instead >>> of 0 characters as POSIX states. >> >> Does not reproduce for me: > > Nor for me, as I noted on the other thread... And looking again, I was > reading the man page for printf(1), not printf(3). Ouch. *grumble, > grumble* I'm crawling back under my rock now.
Sorry for introducing a Linuxism. :-/ Thanks for testing and reporting and for fixing the bug.
René