1.7: missing 'rand' command

View: New views
4 Messages — Rating Filter:   Alert me  

1.7: missing 'rand' command

by DRLDR :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a 'man' page for 'rand':

  /usr/ssl/man/man1/rand.1

but no 'man' command.

Note:
--
$ cygcheck -c OpenSSL
Cygwin Package Information
Package              Version        Status
openssl              0.9.8k-2       OK
--

How's come?

Thanks, Lee

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Re: 1.7: missing 'rand' command

by Steven Monai-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lee Rothstein wrote:

> I have a 'man' page for 'rand':
>
>  /usr/ssl/man/man1/rand.1
>
> but no 'man' command.
>
> Note:
> --
> $ cygcheck -c OpenSSL
> Cygwin Package Information
> Package              Version        Status
> openssl              0.9.8k-2       OK
> --
>
> How's come?

It appears that the 'rand' man page is actually for 'openssl rand'.

-SM
--


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Re: 1.7: missing 'rand' command

by Lee D. Rothstein :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steven Monai wrote:

> Lee Rothstein wrote:
>  
>> I have a 'man' page for 'rand':
>>
>>  /usr/ssl/man/man1/rand.1
>>
>> but no 'man' command.
>>
>> Note:
>> --
>> $ cygcheck -c OpenSSL
>> Cygwin Package Information
>> Package              Version        Status
>> openssl              0.9.8k-2       OK
>> --
>>
>> How's come?
>>    
>
> It appears that the 'rand' man page is actually for 'openssl rand'.
>
>  
My bad. Thanks. Sorry. How silly of me to expect a rand(1) page to be
for a rand command.
The next thing you know, I'll be expecting Corinna, Christopher and the
rest of the Cygwin
core developers to make sense of Windows. Oh ... they have. ;-)





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Re: 1.7: missing 'rand' command

by Mark J. Reed :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Nov 7, 2009 at 12:27 AM, Lee D. Rothstein wrote:
> My bad. Thanks. Sorry. How silly of me to expect a rand(1) page to be for a
> rand command.

This is something of a quirk of the openssl doc, useful because you
can in fact set up the openssl subcommands as standalone UNIX shell
commands - e.g. "ln /usr/bin/openssl /usr/bin/rand" will create a
"rand" exectuable that behaves just like "openssl rand".  There's
probably a 'make install' option in the openssl distro that does this
for all or some subset of the subcommands.

Anyway, this sort of man page quirk is not limited to openssl; it's
always a good idea to check the SYNOPSIS to see if the man page foo(X)
is actually for a command/function named "foo" or if there's something
else going on.

--
Mark J. Reed <markjreed@...>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple