tls
3e254367af
kill use of register
1997-01-09 16:44:06 +00:00
pk
3c7b56e9b2
Note compatibility `-h' op. (from Rob Windsor; PR#1740)
1996-01-05 12:39:30 +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
mycroft
54718335ed
Clean up deleted files.
1994-06-30 05:12:42 +00:00
jtc
008c3a98a0
Replaced test with simpler, more feature rich, version derived from pdksh.
1994-06-30 05:12:29 +00:00
jtc
61c805aef5
The file_descriptor argument to the -t primary is no longer optional.
1994-06-29 22:26:50 +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
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