Skip to main content
4 events
when toggle format what by license comment
Sep 24, 2019 at 12:30 comment added Bodo Thiesen same solution as heemayl, and same problem as described by don_crissti: This would have the same problem as kos's (now deleted) solution as if there are duplicate lines in the input file and some of them fall outside the range and others are inside that range this will delete them all. Also, with multiple occurrences of pattern, if there are lines like -- in the input file (outside the ranges) this will delete them because the delimiter -- appears in grep's output when more then one line is matching pattern (the latter is highly unlikely but worth mentioning I guess).
Nov 6, 2017 at 14:04 review Late answers
Nov 6, 2017 at 14:33
Nov 6, 2017 at 13:49 review First posts
Nov 6, 2017 at 13:59
Nov 6, 2017 at 13:46 history answered lordpavel CC BY-SA 3.0