christos
e028842ec8
Fix compiler warnings.
...
Add WARNS=1
1997-07-20 21:28:26 +00:00
tls
3e254367af
kill use of register
1997-01-09 16:44:06 +00:00
cgd
a86f3aeda3
clean up Id's, and such. reorganize man page slight to match lite's org.
1995-03-21 07:03:50 +00:00
cgd
2c405cf3ed
from jtc: insure that 3 and 4 argument special cases work properly.
1994-07-07 19:08:11 +00:00
jtc
008c3a98a0
Replaced test with simpler, more feature rich, version derived from pdksh.
1994-06-30 05:12:29 +00:00
jtc
9659258f38
Removed code that checked if arg was a unary operator when test is called
...
with only one argument. It's not a syntax error --- it's a special case.
1994-06-29 22:10:16 +00:00
cgd
e54bc987b5
fix syntax error when only have one arg. from Jarle Greipsland
1994-04-10 05:37:11 +00:00
cgd
cc288c2f3b
add support for 'test -h' a la SunOS
1994-02-19 06:28:59 +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
8542364e07
Add RCS identifiers.
1993-08-01 18:49:50 +00:00
cgd
670dcac163
get the [ ! "" ] case right.
1993-06-15 06:22:41 +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