[Bugfix] Fix DWAINE grep -o printing empty lines - Printable Version +- Goonstation Forums (https://forum.ss13.co) +-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6) +--- Forum: Patches (https://forum.ss13.co/forumdisplay.php?fid=30) +---- Forum: Implemented (https://forum.ss13.co/forumdisplay.php?fid=31) +---- Thread: [Bugfix] Fix DWAINE grep -o printing empty lines (/showthread.php?tid=10693) |
[Bugfix] Fix DWAINE grep -o printing empty lines - NinjaKyat - 06-20-2018 Currently the -o (print match only) option for DWAINE's grep command does not work as intended. Instead of the matching text it only prints an empty line, making it a bit less useful. This simple one line fix resolves the issue. (Calling grep -o will now return the match only, without the filename or line numbers). I've made a pull request, but it also involves applying the original grep patch. Here's the Patch. RE: [Bugfix] Fix DWAINE grep -o printing empty lines - ZeWaka - 06-21-2018 So the thing you wanted to link was: https://github.com/goonstation/goonstation-2016/pull/65/commits/97cab81e1661060886164af2fce59958612dd5e1 Will merge sometime |