From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta08-winn.ispmail.ntl.com ([81.103.221.48] helo=mtaout02-winn.ispmail.ntl.com) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1FXQqi-0001V8-00 for ; Sat, 22 Apr 2006 18:45:08 -0400 Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20060422224437.HZKU29040.mtaout02-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Sat, 22 Apr 2006 23:44:37 +0100 Received: from sparky ([86.20.72.172]) by aamtaout02-winn.ispmail.ntl.com with SMTP id <20060422224437.DEDM24467.aamtaout02-winn.ispmail.ntl.com@sparky> for ; Sat, 22 Apr 2006 23:44:37 +0100 Message-ID: <001401c6665e$58634ea0$1d02a8c0@sparky> From: "Chris Norman" To: "Speakup is a screen review system for Linux." References: <000b01c6665d$882278b0$1d02a8c0@sparky> <4a202ad70604221543k51d7b449t48c03c451ea918c5@mail.gmail.com> Subject: Re: More scripting help Date: Sat, 22 Apr 2006 23:44:40 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.8rc1 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Apr 2006 22:45:09 -0000 Bash. Cheers, Chris Norman ----- Original Message ----- From: "Levi Campbell" To: "Speakup is a screen review system for Linux." Sent: Saturday, April 22, 2006 11:43 PM Subject: Re: More scripting help > what shell are you using? > > On 4/22/06, Chris Norman 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 >> >> >> >> _______________________________________________ >> Speakup mailing list >> Speakup@braille.uwo.ca >> http://speech.braille.uwo.ca/mailman/listinfo/speakup >> > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup