Search Results

Search: Posts Made By: neutronscott
8,847
Posted By neutronscott
What OS version and which shell? You can also try...
What OS version and which shell? You can also try awk to replace grep.


record_file=/path/to/some/file.txt

record_exists() {
awk -v "record=$1" 'index($0,record) {found=1;exit} END {exit...
Showing results 1 to 1 of 1

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