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/

Reply via email to