10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Gents,
If there the possibility can to extract data using a reference from other file.
input.txt ( big file which contends all data
output.txt ( data extracted )
selection.txt ( information to extract the data
Example
In file input.txt there is big data each record have 56 lines like... (3 Replies)
Discussion started by: jiam912
3 Replies
2. Shell Programming and Scripting
Gents,
Please can you help with this.
I have a big file (file2) which contends many records increment every 25 rows ( column 1 ).
Then I have other file as reference (file1).. column 1 to 11.
I want to compare that all values in file2 (column 2 to 12.) match with values in... (2 Replies)
Discussion started by: jiam912
2 Replies
3. Shell Programming and Scripting
Dear all,
I have an AWK script which provides frequency of words. However I am interested in getting the frequency of chunked data. This means that I have already produced valid chunks of running text, with each chunk on a line. What I need is a script to count the frequencies of each string. A... (4 Replies)
Discussion started by: gimley
4 Replies
4. Shell Programming and Scripting
Gents,
Can you please help me to solve this case
In my input file I have a values in column 49 which always need to be one, but sometimes the system create a value 2, in this case I need to go to search in the original file and replace the values in the row where the value 2 is and in the... (6 Replies)
Discussion started by: jiam912
6 Replies
5. Shell Programming and Scripting
Hi, I have tab-deliminated data similar to the following:
dot is-big 2
dot is-round 3
dot is-gray 4
cat is-big 3
hot in-summer 5
I want to count the frequency of each individual "unique" value in the 1st column. Thus, the desired output would be as follows:
dot 3
cat 1
hot 1
is... (5 Replies)
Discussion started by: owwow14
5 Replies
6. Shell Programming and Scripting
Hi all,
I am trying to analyze my data, and I will need your experience.
I have some files with the below format:
res1 = TYR res2 = ASN
res1 = ASP res2 = SER
res1 = TYR res2 = ASN
res1 = THR res2 = LYS
res1 = THR res2 = TYR
etc (many lines)
I am... (3 Replies)
Discussion started by: Tzole
3 Replies
7. Shell Programming and Scripting
Hello everyone,
please consider the following lines of a matrix
59 32
59 32
59 32
59 32
59 32
59 32
59 32
60 32
60 33
60 33
60 33
60 33
60 33
60 33
60 33
60 33
60 33 (7 Replies)
Discussion started by: xshang
7 Replies
8. Shell Programming and Scripting
I need to write a shell script "cmn" that, given an integer k, print the k most common words in descending order of frequency.
Example Usage:
user@ubuntu:/$ cmn 4 < example.txt :b: (3 Replies)
Discussion started by: mohit_iitk
3 Replies
9. Shell Programming and Scripting
Hi,
I have a very large log file in the following format:
198.28.0.0 - - 200 348
244.48.0.0 - - 200 211
198.28.0.0 - - 200 191
4.48.0.0 - - 200 1131
244.48.0.0 - - 200 1131
244.48.0.0 - - 200 1131
4.48.0.0 - - 200 1131
244.48.0.0 - - 200 211
4.48.0.0 - - 200 1131
... (2 Replies)
Discussion started by: sajal.bhatia
2 Replies
10. Shell Programming and Scripting
I have a large file with fields delimited by '|', and I want to run some analysis on it. What I want to do is count how many times each field is populated, or list the frequency of population for each field.
I am in a Sun OS environment.
Thanks,
- CB (3 Replies)
Discussion started by: ChicagoBlues
3 Replies