| 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: | zzapper <david AT tvis DOT co DOT uk> |
| Subject: | Re: Converting Dos Slashes to Unix Slashes |
| Date: | Sun, 14 Mar 2004 19:23:24 +0000 |
| Lines: | 22 |
| Message-ID: | <i7c950d1puifq32vh864stc1feetb74vls@4ax.com> |
| References: | <vvo6501upvrqpv62er6nv75ton1k3p0j7h AT 4ax DOT com> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040313152200 DOT 03a2db60 AT 127 DOT 0 DOT 0 DOT 1> <moe8509afjmlci6lvkm1omgvrk473sh81m AT 4ax DOT com> |
| Mime-Version: | 1.0 |
| X-Complaints-To: | usenet AT sea DOT gmane DOT org |
| X-Gmane-NNTP-Posting-Host: | cpc3-oxfd4-4-0-cust194.oxfd.cable.ntl.com |
| X-Newsreader: | Forte Free Agent 1.93/32.576 English (American) |
From
man cygpath
Look at this generically useful script
#!/bin/sh
# wexp
# description : Launch Explorer with correct "Windows" path
if [ "${1}" = "" ];
then
XPATH=".";
else
XPATH="$(cygpath -w "${1}")";
fi
explorer $XPATH &
zzapper (vim & cygwin & zsh)
--
vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"
http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips
--
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 |