printing \n

Hi all,

In a script I need to print a string:

print "\n";

but i am not able to print the above mentioned string...
Please help.

Regards
Rochit

print "\\\n"

thanks but I need to print

print "\n";

and the command you have provided does not give this output.

If u want to print

all "print \n;"

then

print "print \\\n;"

hi boss....

I wish to print

print "\n";

and not

"print \n;"

What shell?

For ksh/zsh:

$ print -r 'print "\n";'
print "\n";