cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
new line
new line
Sep 29, 2013 at 5:33am UTC
JAI SINGH
(100)
1-> what should I use print new line in my shell scripting program
I am using
echo "\n";
printf "\n"
but both of them is not working
Sep 30, 2013 at 12:43am UTC
mariostg
(35)
If you are referring to the shell, which I think you do, just use echo by itself. If you want to print something with echo without a new line, use switch -n. man echo will tell you that.
Oct 2, 2013 at 2:27pm UTC
JAI SINGH
(100)
@mariostg
thanx.....
Topic archived. No new replies allowed.