Can cygwin be configured to always use mixed path output types?

Graucsh jgogolin@tampabay.rr.com
Fri Jan 30 01:40:00 GMT 2004


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/



More information about the Cygwin mailing list