Bash. Cheers, Chris Norman <!-- chris.norman4 at ntlworld.com --> ----- Original Message ----- From: "Levi Campbell" <levicc00123@xxxxxxxxx> To: "Speakup is a screen review system for Linux." <speakup at braille.uwo.ca> Sent: Saturday, April 22, 2006 11:43 PM Subject: Re: More scripting help > what shell are you using? > > On 4/22/06, Chris Norman <cnorman at rnibncw.ac.uk> wrote: >> Hi people, >> I want to change all the RTF files on my computer into TXT ones. I tried >> the >> following: >> >> for FILE in `locate *.rtf` >> do >> { >> unrtf --nopics --text '$FILE' >'$FILE.txt' >> rm -f $FILE >> } >> done >> >> But I have a problem, unrtf says there's an error opening the file, but >> it >> won't give me a name, so I don't know if my variable is getting asigned >> properly, I just know that for every file, I get a "Can't open file" >> error. >> >> Any ideas? >> >> Cheers. >> >> PS: I would also like to avoid (if at all possible) the crap that unrtf >> puts >> into the resulting text file, is this possible? >> >> Cheers, >> >> Chris Norman >> <!-- chris.norman4 at ntlworld.com --> >> >> >> _______________________________________________ >> Speakup mailing list >> Speakup at braille.uwo.ca >> http://speech.braille.uwo.ca/mailman/listinfo/speakup >> > > _______________________________________________ > Speakup mailing list > Speakup at braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup