bug#47001: Feature request: give a meaning to -A/-B/-C with -o

2021-03-08 Thread Gregory Heytings
Hi list, Grep gives no meaning to the -A/-B/-C flags when they are used together with the -o flag (and prints a warning when they are used together). I suggest to give them a specific meaning when the -o flag is used, namely to print NUM _characters_ of trailing/leading/output context aroun

bug#47001: Feature request: give a meaning to -A/-B/-C with -o

2021-03-08 Thread Gregory Heytings
Two further comments: Grep gives no meaning to the -A/-B/-C flags when they are used together with the -o flag (and prints a warning when they are used together). Both the manual and the man page indicate that "a warning is given" when these options are used together, but what actually