03-11-2011
This is as clear as a child's tear drop... thank you.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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)
Discussion started by: richsark
23 Replies
2. Shell Programming and Scripting
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)
Discussion started by: ToeLint
1 Replies
3. Shell Programming and Scripting
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)
Discussion started by: gimley
11 Replies
4. Shell Programming and Scripting
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)
Discussion started by: manas_ranjan
5 Replies
5. Shell Programming and Scripting
Input file:
#read_1
AWEAWQQRZZZQWQQWZ
#read_2
ZZAQWRQTWQQQWADSADZZZ
#read_3
POGZZZZZZADWRR
.
.
Desired output file:
#read_1 3
#read_1 1
#read_2 2
#read_2 3
#read_3 6
.
. (3 Replies)
Discussion started by: perl_beginner
3 Replies
6. UNIX for Dummies Questions & Answers
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)
Discussion started by: ida1215
7 Replies
7. Shell Programming and Scripting
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)
Discussion started by: kraterions
19 Replies
8. UNIX for Dummies Questions & Answers
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
CENV(7) Miscellaneous Information Manual CENV(7)
NAME
cenv - cWnn Environment Operation Functions.
DESCRIPTION
The followings are the operation functions available in every environment. The user may update his environment by using these functions.
For example, he may need to add another dictionary, or need to change the values for certain conversion parameter.
When function key PF6 is pressed, a menu will be displayed. Move the cursor to the particular option and press the return key. The corre-
sponding function will then be carried out.
OPTIONS
1. Add dictionary
To add a dictionary to the current environment.
2. View dictionary
To view all the dictionaries in the current environment, as well as their current states.
3. Word/Character add
To add a word into a dynamic dictionary.
4. Word/Character search
To check if a word/character exists in the dictionary under the current environment. If it exists, the system will show the informa-
tion of word/character.
5. Parameter update
To enquire or change the parameters for the Pinyin-Hanzi conversion under the current environment.
Different environments will have different parameters.
6. Save usage frequency
Save all the usage frequency files under the current environment.
7. Dictionary information
To inquire the information of the dictionaries under the current environment. For example the dictionary name, type and priority
etc.
8. Grammar change
To change the grammar file used in the environment.
9. Exit
To exit the environment operation function.
NOTE
PF6 is the default keyboard definition in cWnn, it may be redefined.
13 May 1992 CENV(7)