Linux Training

Linux training for private, public & voluntary sector.

0793 572 8612

City LinUX sample scripts - mmailto


#!/bin/bash
# $Id: mmailto,v 1.6 2015/05/16 06:57:26 fulford Exp $
# $Source: /src/merlin/usr/local/etc/RCS/mmailto,v $
# $Revision: 1.6 $
# Author C W Fulford.
# Copyright 2014 (c) C W Fulford.
# Licensed for public use under the LGPL, .
# For assistance contact fulford@fulford.net 0709 229 5385
########################################################################
cmd=`basename $0`
syntax="$cmd [[-d] [-v]] | [-V]"
while [ $# -gt 0 ] ;do
	case $1 in 
		-c) config=$2;shift;;
		-d) debug=:;set -x;shift;;
		-v) verbose=0;shift;;
		-V) echo "$cmd $Revision: 1.6 $ $Date: 2015/05/16 06:57:26 $"|awk '{print $1,$3,$6}';exit;;  
		*)params="$@";shift;continue;;
	esac
done
config=${config:-"/usr/local/etc/mmailto.cf"}
. $config
$vterm "$mua" "$params"
######################################################################
# This program is free software: you can redistribute it and or      #
# modify it under the terms of the Lesser GNU General Public License #
# as published by the Free Software Foundation, either version 3 of  #
# the License, or (at your option) any later version.                #
#                                                                    #
# This program is distributed in the hope that it will be useful,    #
# but WITHOUT ANY WARRANTY; without even the implied warranty of     #    
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the      #
# GNU General Public License for more details.                       #
#                                                                    # 
# A copy of the Lesser GNU General Public License and the GNU        #
# General Public License is available at                             #
# <http://www.gnu.org/licenses/>.                                    #
######################################################################

The layout and associated style sheets for this page are taken from the World Wide Web Consortium and used here under the W3C software licence.