This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Can cygwin be configured to always use mixed path output types?
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/