"which" command does not expand "~" in path
Hannu E K Nevalainen
_garbage_collector_@telia.com
Mon Sep 27 19:40:00 GMT 2004
you wrote:
>>>> script). Igor --
>>>
>>> $ u="Hannu";sed -nre "s/^$u.*:(.*):.*$/\1/p" </etc/passwd
>
> This works only because "/" is not a valid variable name. :-p
Ehm.. ;-P - could that be called a lucky shot?
/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems --72-->
** mailing list preference; please keep replies on list **
-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--
--
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