Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: "Joe Smith" Subject: Re: ps -p Date: Sun, 31 Jul 2005 15:23:49 -0400 Lines: 14 Message-ID: References: <11958.2148771316$1122538741 AT news DOT gmane DOT org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes > if [ -d c:/ ] > then > {Cygwin stuff} > else > {Unix equivalent} > fi More common (AFAICT) is: case `uname` in *CYGWIN* ) {Cygwin stuff};; *) {Unix equivalent};; esac -- 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/