you're gonna have to explain a little more than that I'm afraid<br clear="all">Jacob Mansfield<br>Programmer<br><br>
<br><br><div class="gmail_quote">On 16 October 2010 16:30, Alan Lord (News) <span dir="ltr"><<a href="mailto:alanslists@gmail.com">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 16/10/10 13:52, Steve Fisher wrote:<br>
> #!/bin/bash<br>
> rm background-1.xml<br>
<br>
</div>I think Heredocs would be easier to read & faster here.<br>
<br>
cat > background-1.xml << "EOF"<br>
<background><br>
<starttime><br>
<year>2009</year><br>
<month>08</month><br>
<day>04</day><br>
<hour>00</hour><br>
<minute>00</minute><br>
<second>00</second><br>
</starttime><br>
<div class="im"><!-- This animation will start at midnight. --><br>
</div>EOF<br>
<br>
Al<br>
<br>
<br>
--<br>
The Open Learning Centre<br>
<a href="http://www.theopenlearningcentre.com" target="_blank">http://www.theopenlearningcentre.com</a><br>
<font color="#888888"><br>
<br>
--<br>
</font><div><div></div><div class="h5"><a href="mailto:ubuntu-uk@lists.ubuntu.com">ubuntu-uk@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk</a><br>
<a href="https://wiki.ubuntu.com/UKTeam/" target="_blank">https://wiki.ubuntu.com/UKTeam/</a><br>
</div></div></blockquote></div><br>