Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

can anyone explain to me the difference between '"%s"\n', "%s\n", "%d\n" and "%F\n"? If i want a string between quotes is it correct this one? '"%s"\n' and without quotes? Sorry but i can't understand. The shell is ksh. Thanks

share|improve this question
2  
Haven't you googled a little bit before posting the question? There are a lot of good references in the web. For example this one wiki.bash-hackers.org/commands/builtin/printf . Also it is good to try yourself instead of just asking * If i want a string between quotes is it correct this one?*. That is, show some effort on your research. See this as a general comment about how you will get good help in this site. –  fedorqui Jun 4 '13 at 9:16
    
Really sorry, i tried to search on google but maybe in a wrong way. However thanks for the answere. –  End.Game Jun 4 '13 at 9:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.