#/bin/sh if sort $1 then echo sort ok else echo sort not ok fi