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: Graucsh Subject: Re: Can cygwin be configured to always use mixed path output types? Date: Thu, 29 Jan 2004 17:52:36 -0500 Lines: 22 Message-ID: References: <20040129201608 DOT 92607 DOT qmail AT web13904 DOT mail DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org Gmane-NNTP-Posting-Host: pcibizpdc.pciusa.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 In-Reply-To: Igor Pechtchanski wrote: > Besides, you can do it much simpler in sed, something like > > alias pwd='pwd | sed -e"s,^/cygdrive/\(.\),\1:," -eTz -e"s,/,\\\,g" -e:z' > > Or, since the OP wanted the mixed style ('/' instead of '\') even this > > alias pwd='pwd | sed -e"s,^/cygdrive/\(.\),\1:,"' > > :-) > Igor I see I have much to learn about sed, beyond the obvious of combining steps I missed. Thanks; that will help clean up another tidbit I've done to check the path for multiple copies of cygwin1.dll. Apparently, I have much to learn about Thunderbird, too, as I thought I had it configured to wrap lines for me at 72 characters, which my prior post obviously didn't. John -- 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/