Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2001 17:07:51 GMT
From:      Abc Xyz <abc@groggy.anc.acsalaska.net>
To:        "freebsd-questions" <questions@freebsd.org>
Subject:   grep & /dev/null
Message-ID:  <200101121707.RAA35148@groggy.anc.acsalaska.net>

next in thread | raw e-mail | index | archive | help
is it ok for

$ grep 1>/dev/null 2>&- STRING FILES

to work, and for

$ grep 1>&- 2>&- STRING FILES

to fail on syntax?  the 1>&- construct
works fine for all other utilities
i have used it with, but crashes
grep for some reason only.

thanks, please ditto any answers off the list.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101121707.RAA35148>