On 5/22/07, Stuart Jansen <[EMAIL PROTECTED]> wrote:
>
> for FILE in *.doc
> do
>   catdoc "$FILE" > "${FILE/doc/txt}"
> done

for FILE in *.doc
do
  catdoc "$FILE" > "${FILE/\.doc/\.txt}"
done

that ought to do it.

-- 
Alex Esplin
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to