[code] if [ "$1" != "" ]; then /Applications/calibre.app/Contents/MacOS/ebook-viewer "$1" else /Applications/calibre.app/Contents/MacOS/ebook-viewer fi [/code]