Search Results

Search: Posts Made By: Don Cragun
2,217
Posted By Don Cragun
Hi sea, Just so we don't confuse tandrei too...
Hi sea,
Just so we don't confuse tandrei too much, I think you have a typo above. In awk, $1 is the first field of the current input line; not the first column in the output.

With RudiC's...
2,217
Posted By Don Cragun
You could try something like: #!/bin/bash awk...
You could try something like:
#!/bin/bash
awk -F', | -{2,3} {1,2}' '
/documentName:/ {
for(i = 1; i <= NF; i++)
if($i ~ /^titleName:/) tn = $i
else if($i ~ /^documentName:/) dc = $i...
2,217
Posted By Don Cragun
Please show us explicitly the output you want to...
Please show us explicitly the output you want to generate from this line in your log file.

What operating system are you using?

What shell are you using?

What have you tried to solve this...
Showing results 1 to 3 of 3

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