[Sussex] script help?

John Crowhurst fyremoon at fyremoon.net
Sun Oct 26 18:44:09 UTC 2003


> 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://.'

Might be what you require.

--
John






More information about the Sussex mailing list