>>>>> "Denis" == Denis Crowdy <[EMAIL PROTECTED]> writes:

Denis> Problem is (I think) that when I ftp the jpg files across from
Denis> a Windows box to my Linux box (using binary transfer) some
Denis> extra characters appear in the file names. ls > output looks OK
Denis> with more, but gives the following in vi:

You're using a version of ls that tries to set colours on things.  The 
escape-left-bracket sequences are terminal control codes to set
colours etc.




Just do
     convert *
instead of trying to generate a list.

Or there may be an argument to colour-ls to turn off the colours.

You could alter the script if you liked:

-------
#!/bin/sh
for i in "$@"
do
        jpeg2ps "$i"  > "$i".ps && echo "$i".ps
done


The say
    convert * > /tmp/files

Then you have all the output file names in /tmp/files

If you put the output file in the current directory it'll be picked up 
by the * argument.

Peter  C
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to