Skip to content

Show more context, like the -C option to grep #51

Open
@JeffreyBenjaminBrown

Description

@JeffreyBenjaminBrown

grep todo normally shows you only those lines where it discovered the word "todo", but grep todo -C n will show you the n preceding lines and the n subsequent lines as well. (If you want more granularity you can use -A n_preceding -B n_subsequent.) Controls on the web page to do this would let a user get a better view of an issue they don't remember clearly without having to open any file.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions