home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume9
/
rndname3
/
names.csh
< prev
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
1989-11-08
|
398b
|
21 lines
#! /bin/csh
# names - generate random names
#
# usage: names [pages]
# where 'pages' is how many pages of names you want. Default = 1 page.
if ($#argv == 0) then
@ n = 336
else
@ n = 336 * $1
endif
# BSD script -- uncomment this line if BSD
name $n | sort -u | pr -6 | expand
# sysv script -- uncomment this line if SYSV
# note: no tab expansion performed
#name $n | sort -u | pr -6