From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wproxy.gmail.com ([64.233.184.225]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1FXQof-0001RO-00 for ; Sat, 22 Apr 2006 18:43:01 -0400 Received: by wproxy.gmail.com with SMTP id 70so19386wra for ; Sat, 22 Apr 2006 15:43:00 -0700 (PDT) Received: by 10.65.251.9 with SMTP id d9mr1272828qbs; Sat, 22 Apr 2006 15:43:00 -0700 (PDT) Received: by 10.64.53.13 with HTTP; Sat, 22 Apr 2006 15:43:00 -0700 (PDT) Message-ID: <4a202ad70604221543k51d7b449t48c03c451ea918c5@mail.gmail.com> Date: Sat, 22 Apr 2006 16:43:00 -0600 From: "Levi Campbell" To: "Speakup is a screen review system for Linux." Subject: Re: More scripting help In-Reply-To: <000b01c6665d$882278b0$1d02a8c0@sparky> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <000b01c6665d$882278b0$1d02a8c0@sparky> 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:43:01 -0000 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 i= t > 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" erro= r. > > Any ideas? > > Cheers. > > PS: I would also like to avoid (if at all possible) the crap that unrtf p= uts > 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 >