Just a sample of the Echomail archive
[ << oldest | < older | list | newer > | newest >> ]
|  Message 253  |
|  Sean Dennis to All  |
|  Final script  |
|  18 Jun 15 19:35:04  |
 
Hello All,
Here's the script I wrote that creates a TIC file and then calls a built-in
MBSE utility to hatch the file:
=== Cut ===
#!/bin/sh
HATCHPWD="removed"
INBOUND=$MBSE_ROOT/var/inbound
HVERSION="1.0"
if [ "`id -un`" != "mbse" ]; then
echo "This program may only be used by user 'mbse'"
exit 1
fi
if [ "Password" == "${HATCHPWD}" ]; then
echo "This script is not yet configured, first edit this script before
use!"
exit 1
fi
## Perform the actual hatching
FILE=$INBOUND/`$MBSE_ROOT/bin/mbseq`.tic
echo "Hatch" > $FILE
echo "Created Sean's MBSE Single File Hatch Script v$HVERSION" >> $FILE
echo "Area $GROUP" >> $FILE
if [ "$REPL" != "NONE" ]; then
echo "Replaces $REPL" >> $FILE
fi
if [ "$MAGIC" != "NONE" ]; then
echo "Magic $MAGIC" >> $FILE
fi
echo "Origin $AKA" >> $FILE
echo "From $AKA" >> $FILE
echo "File $f" >> $FILE
echo "Fullname $f" >> $FILE
echo "Pth `pwd`" >> $FILE
echo "Desc $DESC" >> $FILE
echo "Pw $HATCHPWD" >> $FILE
echo -e "\n $F hatched!\n"
## Hatch the file out
$MBSE_ROOT/bin/mbfido tic
## Announce hatched file quietly
$MBSE_ROOT/bin/mbaff a -q
=== Cut ===
--Sean
... Behind every successful man stands an amazed woman.
--- GoldED+/LNX 1.1.5-b20130910
* Origin: Outpost BBS * Johnson City, TN, USA (1:18/200)
|
[ << oldest | < older | list | newer > | newest >> ]