Search Results

Search: Posts Made By: Ygor
2,740
Posted By Ygor
Those quotes in your printf statement look odd....
Those quotes in your printf statement look odd. Make sure you are using 'straight quotes', not ‘directional quotes'.

Or perhaps you have some weird characters in the files? Check by using od -hc...
2,740
Posted By Ygor
Try reading the man pages for printf. Here's an...
Try reading the man pages for printf. Here's an example...a=1
b=2
printf '\nValue of a = %s and value of b = %s\n\n' $a $b
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 10:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy