Hello,
I require a perl script that will read a .txt file that contains words like
224.199.207.IN-ADDR.ARPA. IN NS NS1.internet.com.
4.200.162.207.in-addr.arpa. IN PTR beeriftw.internet.com.
arroyoeinternet.com. IN A 200.199.227.49
I want to focus on words:
IN... (23 Replies)
Hello everyone,
I am using a chunk of code to display the frequency of a file name in a list of directories. The code looks like this:
find . -name "*.log" | cut -d/ -f4 | cut -d. -f1 | awk '{print $1}' | sort | uniq -c | sort -nr
The file paths would look something like this:... (1 Reply)
hello,
Here is a program for creating a word-frequency
# wf.gk --- program to generate word frequencies from a file
{
# remove punctuation: This will remove all punctuations from the file
gsub(/_]/, "", $0)
#Start frequency analysis
for (i = 1; i <= NF; i++)
freq++
}
END
#Print output... (11 Replies)
Hi
I have a file like below
############################################
# ParentFolder Flag SubFolders
Colateral 1 Source1/Checksum
CVA 1 Source1/Checksum
Flexing 1 VaR/Checksum
Flexing 1 SVaR/Checksum
FX 1 ... (5 Replies)
Hi, I wanted to calculate cumulative frequency distribution of my data that involves several arithmetic calls. I did things in excel but its taking me forever. this is what I want to do:
var1.txt contains n observations which I have to compute for frequency which is given by 1/n and subsequently... (7 Replies)
Hello friends, I need a BIG help from UNIX collective intelligence:
I have a CSV file like this:
VALUE,TIMESTAMP,TEXT
1,Sun May 05 16:13:05 +0000 2013,"RT @gracecheree: Praying God sends me a really great man one day. Gotta trust in his timing.
0,Sun May 05 16:13:05 +0000 2013,@sendi__... (19 Replies)
Hi experts, I've been struggling to format a large genetic dataset. It's complicated to explain so I'll simply post example input/output
$cat input.txt
ID GENE pos start end
blah1 coolgene 1 3 5
blah2 coolgene 1 4 6
blah3 coolgene 1 4 ... (4 Replies)
Discussion started by: torchij
4 Replies
LEARN ABOUT SUNOS
wnnatod
wnnatod(1) User Commands wnnatod(1)NAME
wnnatod - Convert an EUC text dictionary to a binary dictionary
SYNOPSIS
/usr/bin/wnnatod [-s num] [-R] [-S] [-U] [-r] [-N] [-n] [-P filename] [-p filename] [-I] [-e] [-h filename] binary_dictionary_filename
DESCRIPTION
wnnatod reads a Japanese EUC text dictionary from the standard input, converts it to a binary dictionary and writes it to the specified
binary_dictionary_filename.
OPTIONS
The following options are available.
-s num Specifies the amount of memory to allocate (in words). num should be a little over the number of words in the dictionary.
Normally you do not need to specify this option. The default is 70,000. If wnnatod fails, notifying memory shortage, retry
the command with -s option.
-R Converts the EUC text dictionary to a reverse-searchable binary dictionary (default).
-S Converts the EUC text dictionary to a fixed-format dictionary.
-U Converts the EUC text dictionary to an editable dictionary.
-r Reverses the order of Kana and Kanji when converting the EUC text dictionary.
-N Sets the dictionary password to "*".
-n Sets the frequency password to "*".
-P filename Specifies the file name of the dictionary password.
-p filename Specifies the file name of the frequency password.
-I Creates a system dictionary.
-e Registers an entry's reading (Hiragana) as word in the binary dictionary if the reading and the word are the same (that is,
the word consists of only Hiragana). With this option, you cannot convert a text dictionary to a reverse-searchable
binary dictionary.
-h filename Specifies the file name that contains part of speech information.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWjwncu |
+-----------------------------+-----------------------------+
SEE ALSO wnndictutil(1), wnndtoa(1), wnnotow(1), wnntouch(1)SunOS 5.10 2 Mar 1998 wnnatod(1)