Search Results

Search: Posts Made By: iling14
Forum: Programming 09-28-2014
7,235
Posted By iling14
Thanks a lot scutinizer! The program works...
Thanks a lot scutinizer!

The program works fine, but i jus realize tht the number will appear many times because the output will have same NR as input. (not like uniq -c) anymore.

Btw, we dont...
Forum: Programming 09-27-2014
7,235
Posted By iling14
Hi Don, I presume that in linux OS, awk has...
Hi Don,

I presume that in linux OS, awk has not limitations of the file size? And i've no clue about bytes calculations :confused:

Your assumptions to my problems are pretty accurate except...
Forum: Programming 09-27-2014
7,235
Posted By iling14
Apologize for my typo error
Hi Don,

Thanks for your response. I'm currently using redhat. The line max is about 100k lines, while the number of fields are 100.

Yup, my desired output shall be what you have corrected. I...
Forum: Programming 09-26-2014
7,235
Posted By iling14
awk to count occurrence of strings and loop for multiple columns
Hi all,

If i would like to process a file input as below:

col1 col2 col3 ...col100
1 A C E A ...
3 D E G A
5 T T A A
6 D C A G

how can i perform a for loop to count the occurences of...
Showing results 1 to 4 of 4

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