Re: running a perl-script

From: Conrad Knauer <atheoi_at_no.spam.please>
Date: Tue Jan 09 2007 - 02:17:38 CST

I tried it last night, though I think you'd do better using new-lc twice
(one for a first name with a first name file and a second time for last
names with a last name file since the prop command using just first names
would make the last names out of first names if I understand the system
right). The command if you do want to use it however is to add a 'pipe'
character | followed by perl prop, e.g.:

perl new-lc -10 name_file | perl prop

CK

On 1/8/07, jimw wagner <jpw@sasktel.net> wrote:
>
> I've got it working.
>
> There's another little app/script (sorry, I don't know the proper
> terminology) that takes the output and puts it into proper names. What
> one does is take the output you got from the first one, and pipe it
> through the second. That will be my next effort tonight.
>
> Thanks,
>
> Jim
>
> Conrad Knauer wrote:
> > I seem to have it working; there is a definite lack of instructions on
> > that page I will agree ;)
> >
> > The simplest way to get it working would be to download
> >
> > http://www.ruf.rice.edu/~pound/new-lc
> >
> > and name files, e.g.
> >
> > http://www.ruf.rice.edu/~pound/english-m (English Male Names)
> > http://www.ruf.rice.edu/~pound/english-f (English Female Names)
> > http://www.ruf.rice.edu/~pound/english-s (English Surnames)
> >
> > (or get your own from somewhere, e.g. http://www.ssa.gov/OACT/babynames/
> )
> >
> > drop them into a directory and from a Terminal window set to that dir,
> > e.g. to generate five new english surnames based on common letter
> > combinations, run:
> >
> > perl new-lc -5 english-s
> >
> > for ten english males names:
> >
> > perl new-lc -10 english-m
> >
> > for seven english female names:
> >
> > perl new-lc -7 english-f
> >
> > Then its mix and match fun time :)
> >
> > "Harlos Swiste was a kind lad who longed to wed the miller's fair
> > daughter, Alina Crenn."
> >
> > Fun fun fun ;-)
> >
> > CK
> >
> > On 1/7/07, jimw wagner <jpw@sasktel.net> wrote:
> >>
> >> I would like to have a name-generator, resident on my machine, for
> >> those days when I can't seem to come up with a good name for a
> >> character.
> >>
> >> Rather than learning programming and re-inventing the wheel, I went
> >> looking on the net.
> >>
> >> I found what looks like the thing at
> >> http://www.ruf.rice.edu/~pound/
> >>
> >> It's done in perl. but I can't seem to make it run. Digging through
> >> Google, I got so far as to make it say, when I ran it, 'usage:
> >> lc-namegenerator -[s|#] filename'.
> >>
> >> Can anyone out there give me some notions?
> >>
> >> JimW
> >>
> >
> > --
> > "Those who do not understand Unix are condemned to reinvent it, poorly."
> > (Henry Spencer, 1987)
> >
> > To unsubscribe, send a message with the word "unsubscribe" (without the
> > quotes) in the body to linux-request@slg.org
> > Archives are at http://list.slg.org/
> >
>
>
> --
> "Those who do not understand Unix are condemned to reinvent it, poorly."
> (Henry Spencer, 1987)
>
> To unsubscribe, send a message with the word "unsubscribe" (without the
> quotes) in the body to linux-request@slg.org
> Archives are at http://list.slg.org/
>
Received on Tue Jan 9 02:17:50 2007

This archive was generated by hypermail 2.1.8 : Tue Jan 09 2007 - 02:17:56 CST