Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2001 14:19:19 -0700
From:      Drew Tomlinson <drewt@writeme.com>
To:        "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.org>
Subject:   RE: Shell Script Help - Comparing Strings (Solved)
Message-ID:  <5CD46247635BD511B6B100A0CC3F023925A074@ldcmsx01.lc.ca.gov>
In-Reply-To: <5CD46247635BD511B6B100A0CC3F023925A06B@ldcmsx01.lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you to all who responded with words of wisdom to my questions
regarding scripting.  What I have learned is that one cannot (or at least
should not) try and manipulate the variables ($1, $2, etc.) assigned to
command line arguments directly.  Also, to test a variable for a null
string, use the "-z" option.

Anyway, I completed my first simple script to run webalizer stats on virtual
webs by passing the web name to the script on the command line.

Thanks,

Drew


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5CD46247635BD511B6B100A0CC3F023925A074>