Merging 2 files with awk
I would like to merge 2 files into 1.
for file A - i would like print $0 until I see a marker/flag- '~A ' in $1
then insert a part of file B
then from File A print $0 starting from the marker'~A '
** from file A I would like a variable X is $2 where $1 is WELL
I hope someone can help me out.
Thanks
|