you're gonna have to explain a little more than that I'm afraid
Jacob Mansfield
Programmer



On 16 October 2010 16:30, Alan Lord (News) <alansli...@gmail.com> wrote:

> On 16/10/10 13:52, Steve Fisher wrote:
> > #!/bin/bash
> > rm background-1.xml
>
> I think Heredocs would be easier to read & faster  here.
>
> cat > background-1.xml << "EOF"
> <background>
>  <starttime>
>   <year>2009</year>
>   <month>08</month>
>   <day>04</day>
>   <hour>00</hour>
>   <minute>00</minute>
>   <second>00</second>
>  </starttime>
> <!-- This animation will start at midnight. -->
> EOF
>
> Al
>
>
> --
> The Open Learning Centre
> http://www.theopenlearningcentre.com
>
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to