Search Results

Search: Posts Made By: purebc
13,951
Posted By purebc
I have a file that is a parsed together from...
I have a file that is a parsed together from several other files. Each line has a unique identifier that establishes which file it came from:

data data UID data ...

So, for each of these UID's...
13,951
Posted By purebc
Regex escape special character in AWK if statement
I am having issues escaping special characters in my AWK script as follows:

for id in `cat file`
do
grep $id in file2 | awk '\
BEGIN {var=""} \
{ if ( /stringwith+'|'+'50'chars/ ) {
...
Showing results 1 to 2 of 2

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