[Sussex] script help? (solved)
Matthew Macdonald-Wallace
matthew at truthisfreedom.org.uk
Mon Oct 27 09:48:20 UTC 2003
As shell scripting isn't my thing (yet!) I emerges the cli to php and
wrote a php script to put it into a smil fil, it works a treat! :D
thanks for all the help guys,
Matt
On Sun, 2003-10-26 at 21:43, Matthew Macdonald-Wallace wrote:
> On Sun, 2003-10-26 at 18:44, John Crowhurst wrote:
> > > I'm assuming that every file needs to be pre-fixed with "file://"
> > > then this should do if for you:
> > > ls *.ra | sed -e 's.^.file://.'
> >
> > I'm guessing that the output should be down the page, ls tends to do ls -x
> > on my system, which isn't what you want so:
> >
> > ls -1 *.ra | sed -e 's.^.file://.'
>
> It works, the only problem is that is jumbles the tracks up and some of
> them are meant to flow into the next, is there anyway of getting the
> tracks in the order they are listed in? ls *.ra does this, but when I
> add the sed - e regex, it seems to screw it up... :(
>
> Matt
> --
> +----------------------------------+
> |Matthew Macdonald-Wallace |
> |The Truth Will Set you Free |
> |http://www.truthisfreedom.org.uk/ |
> +----------------------------------+
> BOFH Excuse #60: system has been recalled
>
>
> _______________________________________________
> Sussex mailing list
> Sussex at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/sussex
--
+----------------------------------+
|Matthew Macdonald-Wallace |
|The Truth Will Set you Free |
|http://www.truthisfreedom.org.uk/ |
+----------------------------------+
BOFH Excuse #57: Groundskeepers stole the root password
More information about the Sussex
mailing list