Bug in yearistype.sh

Rickard Faith faith at cs.unc.edu
Fri Sep 1 19:22:36 UTC 1995


I'm not sure if this is fixed or not, but I'm passing it on just in case.
The yearistype.sh version in question is 7.3.

- ------- Forwarded Message
Return-Path: koop at biene.u-strasbg.fr
Date: Fri, 1 Sep 1995 08:52:50 -0400 (EDT)
From: "Felix A. KOOP" <koop at biene.u-strasbg.fr>
To: "Michael K. Johnson" <johnsonm at nigel.vnet.net>
Subject: yearistype in util-linux-2.4
Message-ID: <Pine.LNX.3.91.950901084813.424A-100000 at biene.u-strasbg.fr>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

- - -----BEGIN PGP SIGNED MESSAGE-----

Hi,

I found something bizarre in the yearistype script in util-linux-2.4.
If you are no longer the maintainer, please can you forward it to the
person who maintains it now. Thanks.

The script reads like this:

>        2-nonpres)      case $1 in
>                                *[02468][048]|*[13567][26])     exit 1 ;;
                                                   ^^^
                                        Should be 579 I think
>                                *)                              exit 0 ;;
>                        esac ;;
>        2-odd)          case $1 in
>                                *[13579])                       exit 0 ;;
>                                *)                              exit 1 ;;
>                        esac ;;
>        2-uspres)       case $1 in
>                                *[02468][048]|*[13567][26])     exit 0 ;;
                                                   ^^^
                                               Here also 579
>                                *)                              exit 1 ;;
>                        esac ;;

If I'm wrong, can you explain me why?

- - -----BEGIN PGP SIGNATURE-----
Version: 2.6.2i
Comment: PGP Signed with PineSign 2.0

iQCVAwUBMEcCGnKYpFAkbPv9AQF0dAQAli7pctlXzX6IsqX/o5kSgfYuO1aW1Es4
PL6CEJfF6Q96bn80+cprZbUwVC588mgzU8A5McG7CJKGQLV2yDJGdFXHrf+XLmof
iiueJ/jvG0Ir/HRkvChAW/llx9UlkbF3Ijxk24FGlYk7WnW73kSEl0N8wCKzwqK8
EcSVY3tFkXU=
=E/kA
- - -----END PGP SIGNATURE-----
 
Greetings

Felix A. Koop (Felix.Koop at ensps.u-strasbg.fr)

<A HREF="http://sneezy.u-strasbg.fr/~felix/">Felix A. Koop</A>

Disclaimer:  Any suggestions, comments, or ideas promulgated are absolutely
and positively disclaimed to be claimed for the purposes herein, whereas, and
therefore.  Any resemblance to intelligent ideas are purely coincidental.

- ------- End of Forwarded Message



More information about the tz mailing list