The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM



Thread: I can print ""
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 04-24-2008
gautamdheeraj gautamdheeraj is offline
Registered User
 

Join Date: Feb 2008
Posts: 18
you were having a mismatch of single quotes. I am able to write a.xml by following call.
system("echo '<?xml version=\"1.0\" encoding=\"UTF-8\"?>' > a.xml;");
Reply With Quote