Andriy Sen <apsen <at> hotmail.com> writes:

> G:\>cat test.s | grep -P "^(|[^0])1"
> 1

Useless use of cat.  It is more efficient to write:

grep -P "^(|[^0])1" test.s

-- 
Eric Blake




--
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