Combine multiple awk output to print on one line
问题 I have two different functions I wrote, each with their own AWK to search for a specific file in multiple directories and output the information I need. Both functions print the FILENAME and a specific field I need and work just fine on their own. I want to combine them together for more robust output. I am not a programmer. I wrote these while reading about awk as I went. Function 1 cver () { X="" case $1 in ("-b") X="bb";; ("-c") X="cpe";; ("-e") X="etech";; ("-k") X="core";; ("-o") X=