Hi,

> C:\>E:\cygwin\bin\echo.exe '/^ .*$/d'
> / .*$/d

> I'm not really sure but I think cmd doesn't treat single quotes as
> quoting characters - at least not in the way bash does.

That's true. In addition, the '^' in cmd is an escape character,
like the backslash in sh. Search for "string literals" in the
XP help and support center.

Also, why not

$ grep -v "^ " filename

(slightly faster ;-)

HTH,
        Jan.



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