Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Bugfix] Fix DWAINE grep -o printing empty lines
#1
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.
Reply
#2
So the thing you wanted to link was: https://github.com/goonstation/goonstati...58612dd5e1

Will merge sometime
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)