Re: date error?

2002-11-04 Thread Bob Proulx
Please keep responses on the mailing list and not to me privately
unless it is personal.

Bob


Meister, Stefan [EMAIL PROTECTED] [2002-11-04 07:53:59 +0100]:
 Hello Bob,
 
 here is the Version of date:
 
 smeister@s390linux08:~  date --version
 date (GNU sh-utils) 2.0
 Written by David MacKenzie.
 
 Copyright (C) 1999 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 smeister@s390linux08:~  rpm -qa | grep utils
 sh_utils-2.0-199
 
 I am uing a SuSE Linux Enterprise Server Distribution for zSeries. I told
 SuSE about this bug.
 
 mit freundlichen Gr??en / kind regards
 
 Stefan Meister
 K-DOI-11
 
 Volkswagen AG
 Brieffach 1883/0
 38436 Wolfsburg
 
 Tel.:   +49 (5361)9-43507
 Fax.:  +49 (5361)9-29289
 mailto:stefan.meister;volkswagen.de
 
  -Urspr?ngliche Nachricht-
  Von:[EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
  Gesendet am:Samstag, 2. November 2002 02:58
  An: Meister, Stefan
  Cc: '[EMAIL PROTECTED]'
  Betreff:Re: date error?
  
   is it a bug or a feature?:
   
   smeister@s390linux07:~  date +%D
   10/31/02
   smeister@s390linux07:~  date +%m --date='last month'
   10
  
  You did not say which version of date you are using.
  
date --version
  
  If you are using date version 2.0 or earlier that is certainly
  possible.  A large number of bug fixes and improvements went into the
  sh-utils-2.0.11 around October 2000.  Please install a newer version
  of the code.  If using a vendor version then your vendor probably has
  updated this code.  If you are compiling your own then The test
  release versions at ftp://alpha.gnu.org/gnu/fetish are best.
  
  Bob


___
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils



date error?

2002-10-31 Thread Meister, Stefan
Hello,

is it a bug or a feature?:

smeister@s390linux07:~  date +%D
10/31/02
smeister@s390linux07:~  date +%m --date='last month'
10

mit freundlichen Grüßen / kind regards

Stefan Meister
K-DOI-11

Volkswagen AG
Brieffach 1883/0
38436 Wolfsburg

Tel.:   +49 (5361)9-43507
Fax.:  +49 (5361)9-29289
mailto:stefan.meister;volkswagen.de



___
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils



'date' error on hpux-10.20

2000-08-31 Thread Jan IVEN

Hello,

the "date" program from sh-utils-2.0 produces incorrect output on our
HPUX build system. Format strings %V and %U always give "00",
regardless of the actual date.

The problem goes away if src/date.c and lib/strftime.c are manually
compiled without optimizations (no "-O2" option).

 sh ./config.guess
 hppa1.1-hp-hpux10.20

Attached is the config.status file in case it may help.

Best regards
Jan Iven



#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host hp10ref:
#
# ./configure 
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.

ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
for ac_option
do
  case "$ac_option" in
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
echo "running ${CONFIG_SHELL-/bin/sh} ./configure  --no-create --no-recursion"
exec ${CONFIG_SHELL-/bin/sh} ./configure  --no-create --no-recursion ;;
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "./config.status generated by autoconf version 2.14.1"
exit 0 ;;
  -help | --help | --hel | --he | --h)
echo "$ac_cs_usage"; exit 0 ;;
  *) echo "$ac_cs_usage"; exit 1 ;;
  esac
done

ac_given_srcdir=.
ac_given_INSTALL="/opt/imake/bin/install -c"

trap 'rm -fr Makefile
   doc/Makefile
   intl/Makefile
   lib/Makefile
   man/Makefile
   m4/Makefile
   po/Makefile.in
   src/Makefile
   tests/Makefile
   tests/basename/Makefile
   tests/date/Makefile
   tests/factor/Makefile
   tests/seq/Makefile
   tests/stty/Makefile
   tests/test/Makefile
   config.h conftest*; exit 1' 1 2 15

# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\%]/\\/g;
 s/@@/%@/; s/@@/@%/; s/@g$/%g/'  conftest.subs \CEOF
/^[ ]*VPATH[]*=[^:]*$/d

s%@SHELL@%/bin/sh%g
s%@CFLAGS@%-g -O2%g
s%@CPPFLAGS@%%g
s%@CXXFLAGS@%%g
s%@FFLAGS@%%g
s%@DEFS@%-DHAVE_CONFIG_H%g
s%@LDFLAGS@%%g
s%@LIBS@%-lintl -lsec %g
s%@exec_prefix@%${prefix}%g
s%@prefix@%/usr/local%g
s%@program_transform_name@%s,x,x,%g
s%@bindir@%${exec_prefix}/bin%g
s%@sbindir@%${exec_prefix}/sbin%g
s%@libexecdir@%${exec_prefix}/libexec%g
s%@datadir@%${prefix}/share%g
s%@sysconfdir@%${prefix}/etc%g
s%@sharedstatedir@%${prefix}/com%g
s%@localstatedir@%${prefix}/var%g
s%@libdir@%${exec_prefix}/lib%g
s%@includedir@%${prefix}/include%g
s%@oldincludedir@%/usr/include%g
s%@infodir@%${prefix}/info%g
s%@mandir@%${prefix}/man%g
s%@host@%hppa1.1-hp-hpux10.20%g
s%@host_alias@%hppa1.1-hp-hpux10.20%g
s%@host_cpu@%hppa1.1%g
s%@host_vendor@%hp%g
s%@host_os@%hpux10.20%g
s%@INSTALL_PROGRAM@%${INSTALL}%g
s%@INSTALL_SCRIPT@%${INSTALL}%g
s%@INSTALL_DATA@%${INSTALL} -m 644%g
s%@PACKAGE@%sh-utils%g
s%@VERSION@%2.0%g
s%@ACLOCAL@%aclocal%g
s%@AUTOCONF@%autoconf%g
s%@AUTOMAKE@%automake%g
s%@AUTOHEADER@%autoheader%g
s%@MAKEINFO@%makeinfo%g
s%@AMTAR@%gtar%g
s%@AMTARFLAGS@%o%g
s%@SET_MAKE@%%g
s%@PERL@%perl%g
s%@OPTIONAL_BIN_PROGS@% uname chroot hostid nice uptime stty%g
s%@OPTIONAL_BIN_ZCRIPTS@% nohup%g
s%@MAN@% uname.1 chroot.1 hostid.1 nice.1 nohup.1 stty.1%g
s%@CC@%gcc%g
s%@CPP@%gcc -E%g
s%@RANLIB@%ranlib%g
s%@YACC@%bison -y%g
s%@build@%hppa1.1-hp-hpux10.20%g
s%@build_alias@%hppa1.1-hp-hpux10.20%g
s%@build_cpu@%hppa1.1%g
s%@build_vendor@%hp%g
s%@build_os@%hpux10.20%g
s%@GETCONF@%getconf%g
s%@U@%%g
s%@ANSI2KNR@%%g
s%@GNU_PACKAGE@%GNU sh-utils%g
s%@LIBOBJS@%mktime$U.o regex$U.o getline$U.o stpcpy$U.o group-member$U.o putenv$U.o 
error$U.o strftime$U.o getloadavg$U.o%g
s%@ALLOCA@%%g
s%@NEED_SETGID@%false%g
s%@KMEM_GROUP@%%g
s%@GETLOADAVG_LIBS@%-L/usr/local/lib %g
s%@SEQ_LIBM@%-lm%g
s%@POW_LIBM@%%g
s%@SQRT_LIBM@%-lm%g
s%@LIB_CRYPT@%%g
s%@USE_NLS@%yes%g
s%@MSGFMT@%/usr/local/bin/msgfmt%g
s%@GMSGFMT@%/usr/local/bin/msgfmt%g
s%@XGETTEXT@%/usr/local/bin/xgettext%g
s%@GENCAT@%%g
s%@USE_INCLUDED_LIBINTL@%no%g
s%@CATALOGS@% cs.gmo de.gmo el.gmo es.gmo fr.gmo it.gmo nl.gmo no.gmo pl.gmo pt.gmo 
pt_BR.gmo ru.gmo sk.gmo sv.gmo zh.gmo%g
s%@CATOBJEXT@%.gmo%g
s%@DATADIRNAME@%share%g
s%@GMOFILES@% cs.gmo de.gmo el.gmo es.gmo fr.gmo it.gmo nl.gmo no.gmo pl.gmo pt.gmo 
pt_BR.gmo ru.gmo sk.gmo sv.gmo zh.gmo%g
s%@INSTOBJEXT@%.mo%g
s%@INTLDEPS@%%g
s%@INTLLIBS@%%g
s%@INTLOBJS@%%g
s%@POFILES@% cs.po de.po el.po es.po fr.po it.po nl.po no.po pl.po pt.po pt_BR.po 
ru.po sk.po sv.po zh.po%g
s%@POSUB@%po%g
s%@INCLUDE_LOCALE_H@%#include locale.h%g
s%@GT_NO@%%g
s%@GT_YES@%#YES#%g
s%@MKINSTALLDIRS@%./mkinstalldirs%g
s%@l@%%g

CEOF

# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds