Wednesday, October 28, 2015

[SOLVEDD] shell script printf triple quotes escape or not escape tutorial


Literally or comprehensively? Try these: 


declare -i k=0
printf '''
\$k
'''


printf '''
'$k'
'

printf '''
\$k
'''


printf '''
"$k"
'

No comments:

Post a Comment