https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238065

IPTRACE <[email protected]> changed:

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

--- Comment #3 from IPTRACE <[email protected]> ---
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 command
(/bin/date).


user@serv:~ % date -r
date: option requires an argument -- r
usage: date [-jnRu] [-d dst] [-r seconds|file] [-t west] [-v[+|-]val[ymwdHMS]]
            [-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[ymwdHMS]]
            [-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/   wheel)
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/   wheel)
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[ymwdHMS]]
            [-I[date | hours | minutes | seconds]]
            [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to