Search Results

Search: Posts Made By: andreaalex
2,227
Posted By andreaalex
Hi Scrutinizer, Thanks for your comment. My...
Hi Scrutinizer,

Thanks for your comment. My real file looks as follows(9 columns).

aaa bbb 290-307 290 307 A jj-i 9.51013 17
aaa bbb 290-307 290 307 A gh-vb 17.79166 17...
2,227
Posted By andreaalex
Hi Don, I appreciate your sincere help!:):)...
Hi Don,

I appreciate your sincere help!:):)

---------- Post updated 06-02-13 at 02:41 AM ---------- Previous update was 06-01-13 at 11:50 AM ----------

Hi Don cragon,

Is it possible to...
2,227
Posted By andreaalex
Hi Don, Thank you very much for your...
Hi Don,

Thank you very much for your answer. Please have a look at the input. I don't need to count the duplicate lines. I get the following output using your code.

80 2
45 2
28 1
6 1
76 2...
2,227
Posted By andreaalex
Hi yoda, I have edited my input. In the...
Hi yoda,

I have edited my input. In the input, some lines have repeated. I don't need to count the repeated lines.
2,227
Posted By andreaalex
Thank you very much for your answer. I would like...
Thank you very much for your answer. I would like to get the unique occurrences of numbers. How to change your code for getting unique occurrences? I am new to awk. If you can , please help me.
2,227
Posted By andreaalex
Count the occurances of numbers
I have a file as shown below. I need to count the unique occurrences of numbers in the first and second column only if the third column is <= 10. Otherwise print the corresponding numbers as zero.
...
1,328
Posted By andreaalex
Calculate the mean of numbers
I have a text file which has 3 columns. The first two columns are shown below.

57 7
23 8
14 17
23 1

I need to print mean using the following formula .

mean =sum of the numbers of...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 01:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy