Hello.
I'm looking for a way to merge 2 files, and have the final file sorted according to how the list is set up in fileA.txt, the master file, like described below. Can it be done with AWK?
fileA.txt:
"LANG_AJ" = "azerbejdżański (alfabet grażdanka)";
"LANG_BS" = "basa (Kamerun)";
"LANG_BQ" = "baskijski";
fileB.txt:
"LANG_BQ" = ""LANG_AJ" = ""LANG_BS" = "
Final File:
"LANG_AJ" = "azerbejdżański (alfabet grażdanka)";
"LANG_AJ" = ""LANG_BS" = "basa (Kamerun)";
"LANG_BS" = ""LANG_BQ" = "baskijski";
"LANG_BQ" = "
I'm looking for a way to merge 2 files, and have the final file sorted according to how the list is set up in fileA.txt, the master file, like described below. Can it be done with AWK?
fileA.txt:
"LANG_AJ" = "azerbejdżański (alfabet grażdanka)";
"LANG_BS" = "basa (Kamerun)";
"LANG_BQ" = "baskijski";
fileB.txt:
"LANG_BQ" = ""LANG_AJ" = ""LANG_BS" = "
Final File:
"LANG_AJ" = "azerbejdżański (alfabet grażdanka)";
"LANG_AJ" = ""LANG_BS" = "basa (Kamerun)";
"LANG_BS" = ""LANG_BQ" = "baskijski";
"LANG_BQ" = "