Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

printf inside printf linux

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
Source by linuxhandbook.com #
 
PREVIOUS NEXT
Tagged: #printf #printf #linux
ADD COMMENT
Topic
Name
2+8 =