Re: [Flex-help] flex-2.5.37 testsuite clean up on Solaris
flex is a tool for generating scanners
Brought to you by:
wlestes
|
From: Dennis C. <dc...@bl...> - 2012-10-26 15:41:19
|
> On Fri, 26 Oct 2012, Will Estes wrote:
>
> > In general, the autoconf/automake approach is to test for features,
> not
> > vendor watermarks. So, test to see if diff -q does what you want, if
> it
> > matters and act conditionally on the result.
> >
>
> Thank you, that's worth knowing and makes sense.
>
> Do we need diff -q in this case, or does my point about cmp being a better
> choice for "silent if there is no difference" stand?
I say that cmp -s will do fine. It tells us what we need and it is silent and IEEE Std 1003.1, 2004 Edition standard complaint.
http://pubs.opengroup.org/onlinepubs/009695399/utilities/cmp.html
I know .. i'm being pedantic, but that's what I do :-)
dc
|