cgd
cc288c2f3b
add support for 'test -h' a la SunOS
1994-02-19 06:28:59 +00:00
cgd
62ed4478be
whack mkops so it 'understands' and/or ops
1994-02-19 06:09:03 +00:00
cgd
74427b6539
fix from Andrew Moore <alm@netcom.com> to fix test's handling of
...
(non-negated) "-a" and "-o".
1993-10-26 01:11:28 +00:00
mycroft
3030415fcf
From alm:
...
Added and/or operator test to POSIX special case processing, so now:
$ test ! "abc" -o "abc"
evaluates to true.
The correct fix is probably to yank the superfluous special case code, but
I don't have time to verify the correctness of the result.
1993-09-23 22:49:40 +00:00
mycroft
831bfe48bd
Put back RCS identifier.
1993-09-23 22:47:45 +00:00
alm
22e4414792
test "0 " -eq 0 now evaluates to true.
...
It also does range checking. These override J.T.'s patches.
1993-09-15 04:35:53 +00:00
jtc
f77a141a60
Ignore leading whitespace and handle -' and
+' for operands of integer
...
comparisions.
1993-09-08 00:46:55 +00:00
alm
4eb2169336
/bin/test " 5" -eq 5 now evaluates to true, rather than return an error.
...
/bin/test "5 a" -eq 5 still correclty returns an error.
1993-09-08 00:10:06 +00:00
mycroft
210cab4541
Add RCS identifiers, remove some completely useless RCS logs and patchkit
...
headers, and a few other insignificant changes.
1993-08-02 17:18:41 +00:00
mycroft
93714b3c29
operators.c
1993-08-02 17:15:58 +00:00
mycroft
8542364e07
Add RCS identifiers.
1993-08-01 18:49:50 +00:00
mycroft
b1bd4afedc
Add RCS indentifiers.
1993-08-01 07:42:49 +00:00
mycroft
cda4f8f6ee
Add RCS identifiers.
1993-08-01 05:37:30 +00:00
cgd
670dcac163
get the [ ! "" ] case right.
1993-06-15 06:22:41 +00:00
glass
b029751cb6
ugh. i was right after all.
1993-04-29 06:28:39 +00:00
glass
39ec5a0745
bostic was right, and i was wrong.. boo.
1993-04-27 17:09:01 +00:00
glass
e5ac8e1e2a
new 'test' from ftp.uu.net:/systems/unix/bsd-sources, got rid of GNU thing
1993-04-26 23:30:42 +00:00