Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2019 16:32:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 238065] Regression in date(1)
Message-ID:  <bug-238065-227-JCq6VLVyEz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238065-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238065-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238065

IPTRACE <arkadiusz.majewski@iptrace.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arkadiusz.majewski@iptrace.
                   |                            |pl

--- Comment #3 from IPTRACE <arkadiusz.majewski@iptrace.pl> ---
Please reopen the bug. I see the problem exists due to KornShell update.
To avoid this for sure it's desirable to insert absolute path to date comma=
nd
(/bin/date).


user@serv:~ % date -r
date: option requires an argument -- r
usage: date [-jnRu] [-d dst] [-r seconds|file] [-t west] [-v[+|-]val[ymwdHM=
S]]
            [-I[date | hours | minutes | seconds]]
            [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]

user@serv:~ % /bin/date -r
date: option requires an argument -- r
usage: date [-jnRu] [-d dst] [-r seconds|file] [-t west] [-v[+|-]val[ymwdHM=
S]]
            [-I[date | hours | minutes | seconds]]
            [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]

user@serv:~ % ksh -c "date -r"
date: -r: unknown option
Usage: date [-aceEiLlmnRsuz] [-d date] [-f format] [-p format] [-T type] [-U
scale] [ +format | date ... | file ... ]

user@serv:~ % ksh -c "whereis date"
date: /bin/date /usr/share/man/man1/date.1.gz /usr/src/bin/date

user@serv:~ % sh -c "whereis date"
date: /bin/date /usr/share/man/man1/date.1.gz /usr/src/bin/date

user@serv~ % ksh -c "stat -x /bin/date"
  File: "/bin/date"
  Size: 36080        FileType: Regular File
  Mode: (0555/-r-xr-xr-x)         Uid: (    0/    root)  Gid: (    0/   whe=
el)
Device: 0,98   Inode: 561849    Links: 1
Access: Thu May 30 18:16:35 2019
Modify: Wed Dec 26 00:10:24 2018
Change: Sun May 19 11:03:28 2019

user@serv~ % sh -c "stat -x /bin/date"
  File: "/bin/date"
  Size: 36080        FileType: Regular File
  Mode: (0555/-r-xr-xr-x)         Uid: (    0/    root)  Gid: (    0/   whe=
el)
Device: 0,98   Inode: 561849    Links: 1
Access: Thu May 30 18:16:35 2019
Modify: Wed Dec 26 00:10:24 2018
Change: Sun May 19 11:03:28 2019

user@serv~ % ksh -c "/bin/date -r"
date: option requires an argument -- r
usage: date [-jnRu] [-d dst] [-r seconds|file] [-t west] [-v[+|-]val[ymwdHM=
S]]
            [-I[date | hours | minutes | seconds]]
            [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238065-227-JCq6VLVyEz>