ref: fbc6bc4fd52bd02c18a7b0cf0f4a4c113e8f27b5
dir: /tobit/
#!/bin/rc rfork e switch($1){ case *.bmp *.BMP ext=bmp case *.gif *.GIF ext=gif case *.ico *.ICO ext=ico case *.jpg *.jpeg *.JPG *.JPEG ext=jpg case *.png *.PNG ext=png case *.ppm *.PPM ext=ppm case *.tga *.TGA ext=tga case *.tif *.tiff *.TIF *.TIFF ext=tif case *.v210 *.V210 ext=v210 case *.yuv *.YUV ext=yuv } eval $ext -9t $1