What a headache.
"Six months ago" means slightly different things to cpio and ls.
And ls documents do say exactly what,
and cpio documents don't even say six months.
$ cat prover
set -eu
cd /tmp
for i in `seq 170 190`
do
touch -d "$i days ago" x
{
env - ls -l x|tr -s ' '
On 9/19/21 6:22 PM, william wrote:
Do you know why command is necessary for it to recognize the option?
Without 'command', you're using the builtin shell command rather than
coreutils pwd.
Closing the bug report, as this isn't a coreutils bug.
That does the trick. Do you know why command is necessary for it to recognize
the option?
On 21/09/19 06:05PM, L A Walsh wrote:
> Try 'command pwd --version'
>
> On 2021/09/19 16:09, william wrote:
> > coreutils version 8.32
> >
> > The commands
> >
> > pwd --version
> >
> > and
> >
> >
Try 'command pwd --version'
On 2021/09/19 16:09, william wrote:
coreutils version 8.32
The commands
pwd --version
and
pwd --help
return
pwd: bad option: -v
pwd: bad option: -h
coreutils version 8.32
The commands
pwd --version
and
pwd --help
return
pwd: bad option: -v
pwd: bad option: -h