Kristian Vaaf wrote:
Hello.
I'm looking for pointers on how to make a simple shell script that will
generate new names based on words (one word per line) from two different
files, and output these to a third file.
This would be nice to come up with new cool names,
either for business or
I am flattered over all this assistance.
Thank you indeed Parv, and also Will Maier, you guys have surely
taught me a lot.
I got my hands full of work currently, but I'll test this script
ASAP, and get back to you all.
This is going to be great! Here is my copy and paste of it.
--
At 17:13 04.02.2006, Adam Nealis wrote:
That's going to ba a large file of mixed words!
Would be faster in perl than in the shell. Put the below in a file,
and run it like this:
perl myfile.pl myListOfMixedWords
#!/usr/bin/perl
use warnings;
use strict;
my @custw;
my @dictw;
my $cw;
my
in message [EMAIL PROTECTED],
wrote Parv thusly...
...
in_1=list1
in_2=list2
save=list3
[ -f $save ] mv -f $save $save--OLD
{
while read word_1
do
while read word_2
do
printf %s%s\n%s%s\n \
$word_1 $word_2 \
$word_2 $word_1
Hello.
I'm looking for pointers on how to make a simple shell script that will
generate new names based on words (one word per line) from two different
files, and output these to a third file.
This would be nice to come up with new cool names,
either for business or pleasure.
The first file
I forgot to say;
The script should mix the first word in the first list,
front and back, with all the words in the second list before
it continues to the second word in the first list.
I hope that made sense ;)
Thanks again ...
At 11:08 03.02.2006, you wrote:
Hello.
I'm looking for
in message [EMAIL PROTECTED],
wrote Kristian Vaaf thusly...
I'm looking for pointers on how to make a simple shell script that
will generate new names based on words (one word per line) from
two different files, and output these to a third file.
...
The first file will be a list of custom
On Fri, Feb 03, 2006 at 11:08:04AM +0100, Kristian Vaaf wrote:
I'm looking for pointers on how to make a simple shell script that will
generate new names based on words (one word per line) from two different
files, and output these to a third file.
How bout this? Works on OpenBSD's sh; I
in message [EMAIL PROTECTED],
wrote Will Maier thusly...
On Fri, Feb 03, 2006 at 11:08:04AM +0100, Kristian Vaaf wrote:
I'm looking for pointers on how to make a simple shell script that
will generate new names based on words (one word per line) from
two different files, and output these