IsIt v1.0 (c)1995 Mark Weller
*********************************
IsIt is a small script util to identify what a file is.
Also included is the source code in 'C'. The source will compile with
any 'C' compiler, if you have Dice execute the sourcecode to compile.
8SVX - sound sample
ILBM - iff picture
ILBM ANIM - iff animation
ICON - .info
JPEG - picture
GIF - picture
executable file and object/lib file
Included in this archive is a sample script (IsItSample.script) to
show how IsIt can be used.
Simple Script :
***************
----------------------------
.bra [
.ket ]
.key ARG
isit -e [ARG]
If NOT WARN
echo "it is executable!"
quit
EndIf
echo "UGH!"
----------------------------
to test for other file types, replace -e with the following:
-s = 8SVX -p = ILBM
-i = ICON -a = ILBM ANIM
-e = EXECUTABLE -o = OBJECT/LIB
-j = JPEG -g = GIF
IsIt HELP list:
***************
run IsIt without arguments to get this help list :
----------------------------------------
IsIt v1.0 - (c)1995 Mark Weller
----------------------------------------
usage: IsIt <-spaieojg> <filename>
----------------------------------------
-s = 8SVX -p = ILBM
-i = ICON -a = ILBM ANIM
-e = EXECUTABLE -o = OBJECT/LIB
-j = JPEG -g = GIF
----------------------------------------
Also included is the source code in 'C'. The source will compile with
any 'C' compiler, if you have Dice execute the sourcecode to compile.
Mark Weller - Feb 98
|