10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a text file with different results and I would like to add single quotes to the value after the given pattern '='
This would be the original text file:
user_id=7492 and key=clickid;
user_id=7867 and key=clickid;
user_id=8649 and key=clickid;
And I would like the output to be... (9 Replies)
Discussion started by: mac-arrow
2. Shell Programming and Scripting
I'm facing issues while trying to run a sample program on Linux.
If I try to run the script using the command "sh <filename.prog>", it doesn't work. But, if I try to execute it using the command "ksh <filename.prog>", it works fine.
Even ". ./filename.prog" works fine.
Can you... (6 Replies)
Discussion started by: venkatesh17
3. Shell Programming and Scripting
OS - Suse 10
version sh (AT&T Research) 93s+ 2008-01-31
I am passing two words within double quotes ("Application Developer") to script as variable, but script is adding two single quotes between two words like ("Application' 'Developer").
below is simple test... (4 Replies)
Discussion started by: srimitta
4. Shell Programming and Scripting
My input is like this:
this is a test line.
I want my output to be like this:
"this", "is", "a", "test", "line"
Any idea how this can be done in Linux? (3 Replies)
Discussion started by: shoaibjameel123
5. Shell Programming and Scripting
i 'd like your help about a bash script which:
1. finds inside the html file (it is attached with my post) the code number of the Latest Stable Kernel,
2.finds the link which leads to the download location of the Latest Stable Kernel version,
(the right link should lead to the file... (3 Replies)
Discussion started by: alex83
6. Shell Programming and Scripting
echo apple orange
What command would I use to grab the common letters out of both words?
output would be
a and e are both common in these 2 words!
Please no ruby explanations and please no full answers I just need to know how to get started!
Could I sed out a and if the variable =aa... (3 Replies)
Discussion started by: shellmybell
7. Shell Programming and Scripting
I have a java program to validate a XML file. I want to call this java program in a shell script which will be registered as concurrent program in oracle apps.
Can anyone please let me know the step by step appraoch required to call java program in shell script like ....intial steps... (1 Reply)
Discussion started by: kcp_pavan
8. Shell Programming and Scripting
I need to delete first two words from the arguments my script receives .. no matter how many arguments are passed .
Praveen (5 Replies)
Discussion started by: praveenbvarrier
9. Shell Programming and Scripting
how to write shell program. EX : to check whether a string is a palindrome or not. (9 Replies)
Discussion started by: raram
10. Shell Programming and Scripting
How to write a program to
store the list of ordinary files and the directory files in the specified directory in two files called dir.dat and ord.dat. Then print the largest directory and largest file? (1 Reply)
Discussion started by: rameshparsa
AN(6) Games Manual AN(6)
an - Anagram generator
an [-w] [-c string] [-d dictionary] [-l number_words] [-m word_length] [-u string] [-n number_anagrams] [-h] [-v] [--words] [--contain
string] [--dict dictionary] [--length number_words] [--minimum word_length] [--used string] [--number number_anagrams] [--help] [--ver-
an finds all anagrams which can be made from the letters in PHRASE, using words in the specified dictionary. The default is to use
Print words that the letters in PHRASE can make, then exit.
-c, --contain string
Only print anagrams which contain string.
-d, --dict dictionary
Use dictionary file to find words which the letters in PHRASE can make.
-m, --minimum word_length
Only include word which are at least word_length long.
-u, --used string
Considers that letters in string have already used when analyzing letters in PHRASE. Like --contain but doesn't print out string.
-l, --length number_words
Finds anagrams which have a maximum of number_words words in them. This is very useful when number of anagrams which are output is
-n, --number number_anagrams
Stops after finding number_anagrams anagrams.
Print a usage message on standard output, then exit.
Print version information on standard output, then exit.
an -c imp 'Paul Martin'
Finds anagrams for Paul Martin which contain the word imp.
Paul Martin <firstname.lastname@example.org>
Richard Jones (email@example.com)
- Coding and algorithm design of original version.
Julian Assange (firstname.lastname@example.org)
- Algorithm design of original version.
Please note that the email addresses for Richard and Julian are from over ten years ago and probably no longer work.
Copyright (c) Paul Martin 2012. All rights reserved.