indraf
1
hey all,
i made a simple .sh like this:
echo "<style media="screen" type="text/css">@import url("main.css");</style>"
but the output is:
<style media=screen type=text/css>@import url(main.css);</style>
i want to keep double-quotes, can anyone help me?
thanks
Have you tried to quote the whole line with a single quote?
echo '"<style media="screen" type="text/css">@import url("main.css");</style>"'
Regards
indraf
3
thanks Franklin52 for quick reply , it work.
echo '<style media="screen" type="text/css">@import url("main.css");</style>'
Put a "\" infront if you want to keep the " " like this
echo "namish \"kumar\" tiwari"
namish "kumar" tiwari
Thanks
Namish