[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /usr/bin/test message forgets newline
From: |
Jim Meyering |
Subject: |
Re: /usr/bin/test message forgets newline |
Date: |
Tue, 28 Aug 2007 18:17:55 +0200 |
address@hidden wrote:
> /usr/bin/test neglects adding the trailing newline for this message at
> least:
>
> # /usr/bin/test -d 1 2 3 2>&1|od -c
> 0000000 / u s r / b i n / t e s t : e
> 0000020 x t r a a r g u m e n t ` 2
> 0000040 '
> 0000041
Thanks.
FYI, that's been fixed upstream for a while.
> P.S.,
> $ /usr/bin/test --help
> $ /usr/bin/test --version
> do nothing, in contrast to the man page. (But not the Info page.)
Thanks, but the upstream manual (as well as the one
I see on Debian unstable) says this:
[note that only "[" accepts an OPTION. ]
NAME
test - check file types and compare values
SYNOPSIS
test EXPRESSION
test
[ EXPRESSION ]
[ ]
[ OPTION
DESCRIPTION
Exit with the status determined by EXPRESSION.
--help display this help and exit
--version
output version information and exit