>> > Barry's snippets above are from 'man expr', he is pointing
>> > out that your original OP regarding expr is answered by a
>> > simple RTFM of expr's man page.
>> Unfortunately, not all man pages are that explicit. In the GNU man
>> page for expr, the word "integer" does not appear once.
> What? GNU man pages don't mention that? ;)
> Somehow that doesn't surprise me. IMHO, GNU continues to do
> a grave disservice by a lack of devotion to man pages. It's
> great that info pages are there, that's not my beef, I find
> it a perpetual source of frustration that GNU man pages are
> so information poor. Ie, try 'man date' on GNU.
> Chris, do you think other OS's lack this mention of integer
> in the expr man page? I mean, I think GNU is the exception
> here. Your thoughts?
All other man pages I've looked at (AT&T SVR3.2, SunOs, Solaris,
FreeBSD, NetBSD), and the POSIX specs, refer to "integer-valued
Quote:> Btw, OP said he was looking at 'man bash' on SunOS, which is
> the wrong place to be looking for information about expr.
He probably doesn't know about the "type" builtin command.
Chris F.A. Johnson http://cfaj.freeshell.org
My code (if any) in this post is copyright 2002, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License