ref: b37f3b14f650cdee89f44378fa3b5dd2b5daf567
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