I am trying to perform the following : printf Are you sure you want to copy %s (y/n) ? (file bigger than 10 MB)  $0It works fine, nevertheless, I would like to display the actual size of my file, by doing something like : printf Are you sure you want to copy %s (y/n) ? (file bigger than 10 MB : %s)  $0 ls -l $0 | awk {'print $5'}However, I have a failure by doing so.I guess it is not the right way to do it.
Using a command's output in printf in ksh
ksh;printf