printf " $(somecommands_with_prinf) $(somecommands_with_prinf) " eg : printf "$(cat fol/combine/eps.txt | awk '{printf "%-5s%-10s%8s ","A",$1,$2}') $variable " add many commands inside $() and .... at end 0