randstr man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]

RANDSTR(1)					       RANDSTR(1)

NAME
       randstr - fetch a random text string from a specified file

SYNOPIS
       randstr filename

DESCRIPTION
       In essence, randstr is a stripped-down, minimalist version
       of the popular fortune(6) program.

       It  reads  files	 with  the same structure as the fortunes
       databases, and displays a random string.

   Usage
       randstr might be used, with a database of signatures  cre
       ated  with  a  text editor and the strfile(8) and unstr(8)
       utilities, to randomly change the  $HOME/.signature  file.
       To  do  so, create the necessary database as, for example,
       signatures and signatures.dat in the home  directory,  and
       add the following line to .profile or .login:
	      randstr signatures >.signature

       As  superuser,  a similar sort of thing could be placed in
       the Pnews(1) or Rnmail(1) scripts, although it should cer
       tainly test to be certain that the files exist, and creat
       ing the files of signatures might require a good	 deal  of
       help for a lot of users.

       Also  as	 superuser, one might use randstr with a shell or
       Perl script to read the etc/passwd database and	create	a
       strfile	type  database,	 and  use  this database to run a
       monthly lottery.

BUGS
       None known.

SEE ALSO
       fortune(6), strfile(1)

Linux hackery		   October 1995		       RANDSTR(1)
[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net