Search Results

Search: Posts Made By: High-T
4,730
Posted By High-T
Hi RudiC and Don, Following script worked...
Hi RudiC and Don,

Following script worked for me.
Thanks for the guidance.

#!/bin/ksh
> File3.txt
> Unmatched.txt
awk '
BEGIN {
OFS="\t"
out_m = "File3.txt"
out_nm =...
4,730
Posted By High-T
I have updated the question with the script. ...
I have updated the question with the script.

awk 'FNR == NR && ! /^[[:space:]]*$/ { key = substr($0,1,8); a[key] = $0; next }
$1 == "01" { if (key != 0)
{
if (key...
4,730
Posted By High-T
Thanks RudiC. I have realized that I should not...
Thanks RudiC. I have realized that I should not be using this term as I am getting help for free. I have reviewed the policy and I would be careful next time. Thanks for all your help.

----------...
4,730
Posted By High-T
awk - Print lines if only matching key is found
I am looking to move matching lines (01 - 07) from File1 and 77 tab the matching string from File2, to File3.txt. I am almost done but

- Currently, script is not printing lines to File3.txt in...
Showing results 1 to 4 of 4

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