I want to merge changes from two strings files into one with awk but it is deleting empty lines which are used in my files for better readability.
awk -F= '!a[$1]++' 1.strings 2.strings > results.strings
My files looks like:
"cart.title" = "Cart";
"cart.subtitle" = "Price";
"checkout.title" = "Checkout";
But my output is:
"cart.title" = "Cart";
"cart.subtitle" = "Price";
"checkout.title" = "Checkout";
But I want to keep that newline before checkout.