Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force stdin when grepping piped data #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 16, 2020

  1. Force stdin when grepping piped data

    According to the grep man page: If no FILE is given, recursive searches examine the working directory, and nonrecursive searches read standard input.
    
    In the case of gf, most patterns usually use the recursive flag which will prevent gf to work as expected when piping data to it. This commit fixes this behavior, forcing grep to process stdin even when the recursive flag is used.
    Boris Fersing authored Nov 16, 2020
    Configuration menu
    Copy the full SHA
    11134ad View commit details
    Browse the repository at this point in the history