Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 1997 03:52:42 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        helbig@Informatik.BA-Stuttgart.DE, joerg@FreeBSD.ORG
Cc:        cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/c89 c89.1 c89.sh
Message-ID:  <199710041752.DAA01431@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> joerg       1997/09/18 13:55:51 PDT
>> 
>>   Modified files:
>>     usr.bin/c89          c89.1 c89.sh 
>>   Log:
>>   Use -ansi -pedantic -trigraphs, as suggested by Bruce.
>>   
>>   Enforce that only Posix-spec'ed options are being used, so people could
>>   use this as a Posixificator of some kind.
>
>But the -l flag should still be supported and documented.

It's also painful not to have -pipe.

>BTW, why doesn't the usage message (and manpage synopsis) comply
>to style(9)? Is this POSIX style :-)

POSIX.2 doesn't follow style(9) for many commands :-).

E.g., for mv:

POSIX:
mv  [-fi] source_file target_file

mv  [-fi] source_file ... target_dir

-current man page:
mv [-f | -i] source target
mv [-f | -i] source ... source directory
                             [^need an underscore here]

-current usages message:
mv [-f | -i] src target
mv [-f | -i] src1 ... srcN directory
                     [^^^^wrong if only 1 source]

FreeBSD doesn't follow the consistency rule here.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710041752.DAA01431>