Re: Permission scheme: Real world test needed
On Die, 14 Feb 2006, Florent Rougon wrote:
> > if [ $PERMS = 3775 -o $PERMS = 1777 ] ; then
>
> Bzzzzzzzzzt. Not POSIX. ;-)
>
> Use 'if [ $PERMS = 3775 ] || [ $PERMS = 1777 ] ; then'.
Ahhhaaa.hasod&§(/$/&%"§$%"§/%$"%§$
> Florent, POSIXifying bot /de service/
Thanks Florent, you get the honorary chair of POSIXification!
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at> Università di Siena
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
...[Arthur] leapt to his feet like an author hearing the
phone ring...
--- Who says that the character of Arthur isn't
--- autobiographical?
--- Douglas Adams, The Hitchhikers Guide to the Galaxy
Reply to: