Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

meaning of : in first line of the script

Status
Not open for further replies.

w5000

Technical User
Nov 24, 2010
223
PL
hello
below is beginning part of a sendfile script I am guessing is a shell script
what does mean : in first and again a few times more later (marekd in red)?

whole script

Code:
[COLOR=#EF2929]:[/color]
##########################################################################
# Title      :	sendfile - send file by e-mail
# Author     :	Heiner Steven <heiner.steven@odn.de>
# Date       :	1999-08-20
# Requires   :	getmimetype, metasend
# Category   :	Mail
# SCCS-Id.   :	@(#) sendfile	1.7 10/10/21
##########################################################################
# Description
#	Uses "metasend" to send files as MIME attachments
#
# Caveats
#    o	"sendfile" can handle file names containing whitespace characters,
#	but currently "metasend" cannot.
##########################################################################

PN=`basename "$0"`			# Program name
VER='1.7'

[COLOR=#EF2929]:[/color] ${SPLITSIZE:=104857600}		# 100 MB

usage () {
    echo >&2 "$PN - send file by e-mail, $VER
usage: $PN [-f] [-s subject] [-m mimetype] recipient file ...
    -f:  force sending of mail even for invalid recipients
    -s:  subject of the mail message
    -m:  mime-type (i.e. \"application/octet-stream\")

Multiple files may be specified. If no mimetype was given,
it is determined via a call to \"getmimetype\"."
    exit 1
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top