On 7/12/05, Menachem Shapiro <[EMAIL PROTECTED]> wrote:
> for i in `ls *.doc`
> do
> BASE=`echo $i |sed s/\.doc$//`
> mv $i ${BASE}.txt
> doneReally, I don't even care about lopping off the "doc" part. I would like "txt" or "text" added, but it could become ".doc.txt" for all I care. Notably missing from this script is the wvText command! But I think that's what you meant, of course. -todd -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
