[4369] in Athena Bugs
vax 6.4R: /bin/test and /bin/[
daemon@ATHENA.MIT.EDU (John T Kohl)
Fri Mar 2 14:04:35 1990
Date: Fri, 2 Mar 90 14:04:13 -0500
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
System name: lycus
Type and version: CVAXSTAR 6.4R
Display type: SM
What were you trying to do?
Examine /bin/test and /bin/[
What's wrong:
(1) The two programs should be hard-linked to conserve disk space,
but they are not.
(2) no man page for [
(3) test(1) man page fails to mention that if the program name
is "[" then the arguments must end with "]"
[{1}lycus:~]
% ls -li /bin/\[ /bin/test
985 -r-xr-xr-x 1 root 5120 May 23 1988 /bin/[
1020 -r-xr-xr-x 1 root 5120 May 23 1988 /bin/test
[{1}lycus:~]
% cmp /bin/test /bin/\[
[{1}lycus:~]
% echo $status
0
[{1}lycus:~]
%
What should have happened:
They should be hard-linked to each other, the man page [(1)
should exist, and the man page should mention the need for "]".
Please describe any relevant documentation references:
test(1)