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 Date: Wed, 10 Aug 2005 21:24:23 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Programatically finding value of "cygdrive" prefix Message-ID: <20050811012423.GD10161@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <42FA4604 DOT 8000507 AT tlinx DOT org> <20050810183616 DOT GA5892 AT trixie DOT casa DOT cgf DOT cx> <20050810184119 DOT GA6155 AT trixie DOT casa DOT cgf DOT cx> <42FA7608 DOT 4070501 AT serv DOT net> <42FA7C4C DOT 4010607 AT serv DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42FA7C4C.4010607@serv.net> User-Agent: Mutt/1.5.8i On Wed, Aug 10, 2005 at 03:14:36PM -0700, L Anderson wrote: >Oops! I meant also to add that > >mount -p | sed -nr '2s/(.*) +\S+ +\S+/\1/p' > >is even a shorter version. And it still includes trailing spaces in the eventual result. cgf -- 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/