| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
| To: | cygwin AT cygwin DOT com |
| From: | Graucsh <jgogolin AT tampabay DOT rr DOT com> |
| 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: | <bvc2ug$3c5$1@sea.gmane.org> |
| References: | <20040129201608 DOT 92607 DOT qmail AT web13904 DOT mail DOT yahoo DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0401291536170 DOT 20756 AT slinky DOT cs DOT nyu DOT edu> <bvc0f1$ss2$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 56 DOT 0401291724450 DOT 20756 AT slinky DOT cs DOT nyu DOT edu> |
| Mime-Version: | 1.0 |
| 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: | <Pine.GSO.4.56.0401291724450.20756@slinky.cs.nyu.edu> |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |