What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-27 22:04:02
bash vlookup function
# Example usage: awk 'FNR==NR{a[$1]=$2; next}; {if($9 in a) {print $0, "\t"a[$9];} else {print $0, "\tNA"}}' input_file_1 input_file_2 # This command does a VLOOKUP-type operation between two files using # awk. With the numbers above, ... Add solution