Skip to contentSkip to conversation

test(1): Obsolescent logical operators

DISCUSSION Martin Gebert 2 participants 2 messages Mar 4, 2016 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

Hi Michael!

As I just learned from this discussion

http://unix.stackexchange.com/questions/267335/how-can-i-check-that-two-input-values-are-correct-in-a-bash-script

the -a and -o operators of test(1) are marked obsolescent:

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16

Yet the Linux man pages don't contain a hint to that.

Cheers,

Martin
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to a message not in the archive

Hi Martin,

Quoted 11 lines · Martin Gebert

Hi Michael!

As I just learned from this discussion

http://unix.stackexchange.com/questions/267335/how-can-i-check-that-two-input-values-are-correct-in-a-bash-script

the -a and -o operators of test(1) are marked obsolescent:

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16

Yet the Linux man pages don't contain a hint to that.

That page belongs to another project. See
http://man7.org/linux/man-pages/man1/test.1.html#COLOPHON

Cheers,

Michael

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html