MD5 Osax?

I’m looking for OSAX, that can check MD5 or something similar. I need to check integrity of some files.

No OSAX needed:

do shell script "/sbin/md5 /path/to/file"

Thanks

I dont understand these:
-t Run a built-in time trial.
-x Run a built-in test script.

Where i can get list of all these handy unix utils that are installed in my Mac?

Google is your friend - there are lots of listings for OS X Unix Commands, Darwin Commands, BSD Unix Commands, etc.

If you just want a (long) list of them:

set UnixCmds to do shell script "echo $PATH | sed -e 's/:/ /g' | xargs ls -1"

or, to get it as a text list:

do shell script "echo $PATH | sed -e 's/:/ /g' | xargs ls -1 > ~/desktop/ShellList"

A more elegant command (due to Cameron Hayne) which includes a brief description of each:

do shell script "echo $PATH | sed -e 's/:/ /g' | xargs ls -1 | xargs whatis | grep -v \"nothing appropriate\" | more > ~/desktop/ShellFunctions.txt"

This leaves a text document of all the UNIX functions available on your machine on your desktop.

i wrote up a small interactive one a little while a go.

set the_file to choose file with prompt "Pick a file:" default location path to home folder with invisibles
set fileHash to do shell script "md5 -q " & quoted form of POSIX path of the_file

set the_result to display dialog "Enter Hash" default answer "type here" buttons {"Cancel", "OK"} default button "OK"
set button_pressed to button returned of the_result
set text_typed to text returned of the_result
if button_pressed is "OK" then
	set theText to "No Match"
	if text_typed = fileHash then
		set theText to "Hash Equal"
	end if
	display dialog theText

end if

Cameron Hayne updated his UNIX function name grabber with alphabetization and elimination of those without man pages. I’ve put a copy in Code Exchange at this Link