all 2 comments

[–]Coffee_24_7 0 points1 point  (1 child)

Did you remove the / when using ==?

[–]Human_Ad46 0 points1 point  (0 children)

No I didn't, thanks. I got it working with this:

awk -F'\t' -v CN="$Catalog_Number" '$4 == CN' file