Similar to “stdin2TextEdit.sh”, this script “cat”s the file specified on the command line. (If none is given then stdin will be opened.)
#! /bin/sh TMP=/tmp/`basename $0`_`date +'%Y-%m-%d_%H-%M-%S'`_$$.txt cat $1 > ${TMP} open ${TMP}
MEI Security
Digital and Physical Security Consulting and Training
Similar to “stdin2TextEdit.sh”, this script “cat”s the file specified on the command line. (If none is given then stdin will be opened.)
#! /bin/sh TMP=/tmp/`basename $0`_`date +'%Y-%m-%d_%H-%M-%S'`_$$.txt cat $1 > ${TMP} open ${TMP}