I am going to ask a question about my own shell script.
On Thu, 24 Feb 2000, Simon Epsteyn wrote:
> if [ "$1" != "" ]; then
I often see similiar test written as:
if [ X"$1" != X"$2" ]; then
I would undersdant it if it was written as
if [ X$1 != X$2 ]; then
but doesn't putting $1 and $2 in quotes make the X unneeded? Are there any
bourne shells that break with simply
if [ "$1" != "$2" ]; then
if one of the vars is empty?
/Simon
--
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
- modifying Anaconda Frank Hale
- RE: modifying Anaconda Prasanth Kumar
- Re: modifying Anaconda Gene C.
- modifying Anaconda Frank Hale
- Re: modifying Anaconda Simon Epsteyn
- Re: modifying Anaconda Simon Epsteyn
- Re: modifying Anaconda Frank Hale
- Re: modifying Anaconda Frank Hale
