summaryrefslogtreecommitdiff
path: root/sys/src/cmd/grep/main.c
AgeCommit message (Collapse)Author
2020-03-26grep: fix handling of -b flagAlex Musolino
Output buffering is automatically disabled when reading from stdin. In this case, supplying the -b flag ought to be redundant. However, since Bflag was being XORed into the flag set - rather than simply ORed - supplying -b would actually enable output buffering.
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen