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 From: "Trevor Baker" To: Subject: Bug: "cygpath -w ." returns ".\" instead of "." Date: Thu, 1 Jul 2004 14:42:46 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.16; VAE: 6.26.0.3; VDF: 6.26.0.12; host: postman.alphatrade.com) Hi, If I execute these commands, I get these outputs: $ cygpath -w . .\ $ cygpath -u . . As you can see these commands return different values. Now in cygwin this may cause problems elsewhere, such as in the following trivial script: #---------- #!/bin/sh BASEDIR=`cygpath -w .` FILE="$BASEDIR/out.txt" touch "$FILE" #---------- If you run this, $FILE is set to ".\/out.txt" which is not very unix friendly. Can I get a bug fix for "cygpath -w ." to return "." instead of ".\"? I'm using the latest cygwin v1.5.10-3 on NT2k. Don't know cygpath version...sorry. Not too sure if this right forum, if not can someone please direct to appropriate means of bug reporting. Thanks, Trevor Baker AlphaTrade.com trevor AT alphatrade DOT com toll-free: 1-877-288-7799 tel: 604-681-7503x246 fax: 604-681-7710 -- 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/