Search Results

Search: Posts Made By: ran123
8,023
Posted By Scrutinizer
Hey, good catch !! This should fix it, no? ...
Hey, good catch !!

This should fix it, no?
awk '/abc/ && getline && /xyz/ && FNR>1 {print FILENAME}' *.txt | sort -u
8,023
Posted By Corona688
grep has no memory, variables, conditionals; ...
grep has no memory, variables, conditionals; it's not really a language. It only matches lines. It can't do logic like "if one line, do something to another line".

That's just the sort of thing...
Showing results 1 to 2 of 2

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