On Thu, Aug 11, 2005 at 02:47:29PM +0000, Eric Blake wrote: >>>mount -p | sed -nr '2s,/([^ ]) +\S+ +\S+$,\1,p' >> >>that's what I also tried before sending my e-mail. it does not print >>anything. > >Oh right, I missed a + to make \1 be more than one character: > >mount -p | sed -nr '2s,/([^ ]+) +\S+ +\S+$,\1,p'
And now we're back to not handling a cygdrive with imbedded spaces. We're really looping here. This is really degenerating into a "how do I use UNIX tools?" discussion which is really not a topic for this mailing list. Perhaps this should be moved to cygwin-talk. cgf -- 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/