#!/bin/bash echo "$1" >>/tmp/md5.log # MD5=`echo $1|cut -b 7-` MD5=`echo $1|cut -d/ -f3` exec ~/library/view $MD5 # xmessage "$1" &