Skip to main content

All Questions

Tagged with
1 vote
2 answers
1k views

Using awk to process multiple files need to count occurance of variable after pattern. How can I stop array resetting after each file?

I want to count all occurances of any variable in parenthesis after patterns, for files in a directory that have a specific extension. Each file may contain the pattern on multiple records/line. So ...
BoRain's user avatar
  • 11
1 vote
2 answers
539 views

Efficient way to search array in text file by AWK

I have one array SPLNO with approx 10k numbers.Now i want to search the subscriber number from MDN.TXT file (containing approx 1.5 lac record)from the array.if subscriber number found in array it will ...
user3548033's user avatar