Hi,
I want to be able to list all the names in a file which begin with a capital letter, but I don't want it to list words that begin a new sentence. Is there any way round this?
Thanks for your help. (1 Reply)
I have a file that contains the following:
Mon Dec 3 15:52:57 PST 2o007: FAILED TO PROCESSED FILE 200712030790881200.TXT - exit code=107
Tue Dec 4 09:08:57 PST 2007: FAILED TO PROCESSED FILE 200712030790879200a.TXT - exit code=107
This file also has a lot more stuff since it is a log file.... (2 Replies)
Hi,
I am trying to find the content of file using grep and find command and list only the file names
but i am getting entire file list of files in the directory
find . -exec grep "test" {} \; -ls
Can anyone of you correct this (2 Replies)
Hi All,
I have a file like this,(This is a sql output file)
cat query_file
200000029
12345 10001
0.2 0
I want to fetch the values 200000029,10001,0.2 .I tried using the below code but i could get... (2 Replies)
Hi
I have a script where the user calls it with arguments like so:
./import.sh -s DNSNAME -d DBNAME
I want to check that the database entered is valid by going through a passwd.ds file and checking if the database exists there.
If it doesn't, the I need to send a message to my log... (4 Replies)
Hi, all:
I would like to search all files under "./" and its subfolders recursively to find out
those files contain both word "A" and word "B", and list the filenames finally.
How to realize that?
Cheers
JIA (18 Replies)
Hi,
Do anybody know how to print out only those record that column 1 is "a" , then followed by "b"?
Input file :
a comp92 2404242 2405172
b comp92 2405303 2406323
b comp92 2408786 2410278
a comp92 2410271 2410337
a comp87 1239833 1240418
b comp87... (3 Replies)
Hy there all. Im new here. Olso new to terminal & bash, but it seams that for me it's much easyer to undarsatnd scripts than an actual programming language as c or anyother languare for that matter.
S-o here is one og my home works s-o to speak.
Write a shell script which:
-only works as a... (1 Reply)
I have the file like this.
cat 123.txt
<p> <table border='1' width='90%' align='center' summary='Script output'> <tr><td>text </td> </tr> </table> </p>
I want to replace some tags and want the output like below. I tried with awk & sed commands. But no luck. Could someone help me on this?
... (4 Replies)
Discussion started by: thomasraj87
4 Replies
LEARN ABOUT SUSE
htfuzzy
htdig(1) General Commands Manual htdig(1)NAME
htfuzzy - fuzzy command-line search utility for the ht://Dig search engine
SYNOPSIS
htfuzzy [-c configfile] [-v] algorithm [options]
DESCRIPTION
Description to follow here
OPTIONS -c configfile
Use the specified configfile instead of the default.
-v Verbose mode , -vvv
etc ). Specifying more than two v's is probably only useful for debugging purposes.
Supported Algorithms
Different algoritms are supported for searching:
soundex Creates a slightly modified soundex key database. Differences with the standard soundex algorithm are: Keys are 6 digits
and the first letter is also encoded. metaphone Creates a metaphone key database. This algorithm is more specific to English,
but will get fewer "weird" matches than the soundex algorithm.
accents (No description of the algorithm at the moment)
endings Creates two databases which can be used to match common word endings. The creation of these databases requires a list
of affix rules and a dictionary which uses those affix rules. The format of the affix rules and dictionary files are the ones
used by the ispell program. Included with the distribution are the affix rules for English and a fairly small English dictionary.
Other languages can be supported by getting the appropriate affix rules and dictionaries. These are available for many languages;
check the ispell distribu- tion for more details.
synonyms Creates a database of synonyms for words. It reads a text database of synonyms and creates a database that htsearch can
then use. Each line of the text database consists of words where the first word will have the other words on that line as synonyms.
Notes on searching
Please consult specialised literature to find out how the different algorithms work or simply try another
search stragegy you do not get the intended search results.
FILES
/etc/htdig/htdig.conf
The default configuration file. /var/lib/htdig/db/db.accents.db (Output) Maps between characters with and without accents for
accents fuzzy rule /var/lib/htdig/db/db.metaphone.db (Output) Database of similar-sounding words for metaphone fuzzy rule
/var/lib/htdig/db/db.soundex.db (Output) Database of similar-sounding words for soundex fuzzy rule /srv/www/htdig/common/english.0,
/srv/www/htdig/common/english.aff (Input) List of words and affix rules used to generate endings /srv/www/htdig/common/root2word.db,
/srv/www/htdig/common/word2rood.db (Output) Database used for endings fuzzy rule /srv/www/htdig/common/synonyms (Input) List of
groups of words considered synonymous /srv/www/htdig/common/synonyms.db (Output) Database used for synonyms fuzzy rule
SEE ALSO
Please refer to the HTML pages (in the htdig-doc package) /usr/share/doc/htdig-doc/html/index.html and the manual pages htdigconfig(8) ,
htmerge(1) , htnotify(1) , htsearch(1) and rundig(1) for a detailed description of ht://Dig and its commands.
AUTHOR
This manual page was written by Robert Ribnitz. It is based on documentation of ht://Dig, and on earlier manpages provided by Christian
Schwarz and Stijn de Bekker.
21 July 1997 htdig(1)