Search Results

Search: Posts Made By: kaktus
2,201
Posted By kaktus
Thanks, for the additional explanation. I can...
Thanks, for the additional explanation. I can follow it now.
2,201
Posted By kaktus
Thanks! Both of these get me the desired output....
Thanks! Both of these get me the desired output. I don't fully understand how it works though. Would you mind breaking it down?
2,201
Posted By kaktus
Find lines with duplicate values in a particular column
I have a file with 5 columns. I want to pull out all records where the value in column 4 is not unique. For example in the sample below, I would want it to print out all lines except for the last...
3,739
Posted By kaktus
Thanks, for my 2GB file, this saves a little bit...
Thanks, for my 2GB file, this saves a little bit of processing time: 2m38.580s vs. 2m43.779s. Could you please explain what adding A[""] does?
3,739
Posted By kaktus
Works great, thanks!
Works great, thanks!
3,739
Posted By kaktus
Thanks, that worked beautifully! I had a bit of...
Thanks, that worked beautifully! I had a bit of trouble getting it to work in my real life application (a 2 GB file with dozens of columns and over 2 million lines), but I managed to get it to work...
3,739
Posted By kaktus
Awk: compare values in two columns of the same file
I'm trying to learn awk, but I've hit a roadblock with this problem. I have a hierarchy stored in a file with 3 columns:
id name parentID
4 D 2
2 B 1
3 C 1
1 A 5
I need to check if there are...
Showing results 1 to 7 of 7

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