Just a sample of the Echomail archive
Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.
|    TUXPOWER    |    Advocacy for the Linux operating system    |    1,237 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 28 of 1,237    |
|    Maurice Kinal to All    |
|    tuxpower.sh    |
|    10 May 11 20:34:36    |
      #!/bin/bash       ##### A simple TUXPOWER echo area bash script posting thingy       ##### requires the Husky Project's hpt application       ##### This script should look neater when posted in TUXPOWER              # set variables for kludges and tear line       PID=`bash --version | head -1`       TID=`hpt -h | head -1`       tearline="WeBeBashing v0.0.0-rc0 (unsupported)"              # make sure user inputs a script              if [ ! "$1" ]       then        echo -e "Usage: 'tuxpower.sh scriptname'\a"        exit 1       fi              # ensure the inputted script actually exists              if [ ! -e "$1" ]       then        echo -e "No such script as $1\a"        exit 10       fi              # check if readable by poster              if [ ! -r "$1" ]       then        echo -e "$1 is not readable by $USER\a"        exit 15       fi              # if exists is it a shell script?              if [ "$(file $1 | grep "shell script")" ]       then        # set up a temporary file and output the original to it        temporary_script=`basename $1`        echo -e "\x01PID: $PID" > /tmp/$temporary_script        echo -e "\x01TID: $TID" >> /tmp/$temporary_script        cat $1 >> /tmp/$temporary_script               # replace tabs with spaces and tack on a couple lines to the end        # to make it look good in the TUXPOWER Fido echo and then post it        # The -d switch to 'htp post' will delete the temporary file               sed -i 's/\t/ /g' /tmp/$temporary_script        echo -e "\n# that's all there is to it.\n" >> /tmp/$temporary_script               hpt post -nt "All" \        -s "$temporary_script" \        -e "tuxpower" \        -z "$tearline" \        -f loc k/s \        -d /tmp/$temporary_script       else        echo -e "Unacceptable behavior since $1 is not a shell script.\a"        exit 20       fi              # that's all there is to it.              --- WeBeBashing v0.0.0-rc0 (unsupported)        * Origin: Pointy Stick Society (1:261/38.9)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca