You don't need multiple awk. You can combine them in one awk:
awk FNR==21 {if (NR>FNR) printf OFS; printf $1}' {a,b,c,d,e}.txt
a b c d e
-
FNR==21
will run this block for line # 21 in every input file
-
NR>FNR
will print a space for the second file forward
source
to share