Programatically finding value of "cygdrive" prefix
Ken Dibble
kdibble@alltel.net
Thu Aug 11 02:02:00 GMT 2005
Christopher Faylor wrote:
>On Wed, Aug 10, 2005 at 03:14:36PM -0700, L Anderson wrote:
>
>
>>Oops! I meant also to add that
>>
>>mount -p | sed -nr '2s/(.*) +\S+ +\S+/\1/p'
>>
>>is even a shorter version.
>>
>>
>
>And it still includes trailing spaces in the eventual result.
>
>cgf
>
>
In my attempt to understand, can you tell me where (and why) this would
fail?
mount -m | grep "mount -u" | tail -1 | awk '{print $5}'
Thanks,
Ken
--
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