delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/07/06:29:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4AF50528.7030401@veritech.com>
References: <4AF4E2FA DOT 8010202 AT veritech DOT com> <4AF4E4D2 DOT 1040103 AT monai DOT ca> <4AF50528 DOT 7030401 AT veritech DOT com>
Date: Sat, 7 Nov 2009 06:29:22 -0500
Message-ID: <f60fe000911070329k3a8acc53w9324648589e9e2e2@mail.gmail.com>
Subject: Re: 1.7: missing 'rand' command
From: "Mark J. Reed" <markjreed AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT gmail DOT com>

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019