delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/11/10:43:13

X-Spam-Check-By: sourceware.org
X-Envelope-To: <cygwin AT cygwin DOT com>
X-Virus-Status: Clean
Message-ID: <461CF3E6.2050802@mscha.nl>
Date: Wed, 11 Apr 2007 16:42:46 +0200
From: Michael Schaap <cygwin AT mscha DOT nl>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: cron 4.1-1
References: <announce DOT 3 DOT 0 DOT 1 DOT 32 DOT 20070411064934 DOT 00ba6708 AT incoming DOT verizon DOT net> <461CEAAC DOT 7040608 AT mscha DOT nl> <010a01c77c43$e1ea24e0$3c0110ac AT wirelessworld DOT airvananet DOT com> <461CEEE0 DOT 7040202 AT mscha DOT nl> <011601c77c45$e87c8210$3c0110ac AT wirelessworld DOT airvananet DOT com>
In-Reply-To: <011601c77c45$e87c8210$3c0110ac@wirelessworld.airvananet.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 11-Apr-2007 16:30, Pierre A. Humblet wrote:
> | "[ -e /usr/sbin/sendmail ]" is true when a symlink
> | "/usr/sbin/sendmail.exe" exists.
>
> Precisely if "[ -e /usr/sbin/sendmail ]"  is true then
>  || ln -sf /usr/bin/cronlog /usr/sbin/sendmail
> shouldn't run.
>   
Indeed it doesn't.  But then:

[ -e /usr/sbin/sendmail ] && rm -f /usr/sbin/sendmail.exe

does run.

 – Michael

(I can't stand that syntax, by the way.  It's so much easier to see 
what's going on when you use a proper "if"...)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019