Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/rc/bin/j2k/togif
#!/bin/rc # make *.gif from *.j2k # Mon Apr 4 05:11:53 MET 2005 Peter A. Cejchan <cej@gli.cas.cz | pac7@post.cz> rfork e mkdir $1 for (name in *.j2k) { outname = `{echo $name | sed 's/\.j2k/\.gif/g'} j2kto9 $name | togif > $1/$outname } #-eof-