Skip to content

Conversation

mknos
Copy link
Contributor

@mknos mknos commented Jan 29, 2024

  • NetBSD and FreeBSD versions of grep have an environment variable called GREP_OPTIONS which is added before any options given on the commandline
  • This version did the same thing for env variable TCGREP so it could be renamed for slightly better BSD compatibility
  • Update pod to explain how commandline options are used with respect to GREP_OPTIONS
  • Referring to grep as tcgrep in the pod manual is confusing because the program is installed as grep not tcgrep; users might looks for tcgrep and not find it

* NetBSD and FreeBSD versions of grep have an environment variable called GREP_OPTIONS which is added before any options given on the commandline
* This version did the same thing for env variable TCGREP so it could be renamed for slightly better BSD compatibility
* Update pod to explain how commandline options are used with respect to GREP_OPTIONS
* Referring to grep as tcgrep in the pod manual is confusing because the program is installed as grep not tcgrep; users might looks for tcgrep and not find it
@github-actions github-actions bot added Type: enhancement improve a feature that already exists Priority: low get to this whenever Program: grep The grep program labels Jan 29, 2024
Copy link
Owner

@briandfoy briandfoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess tcgrep is "Tom Christiansen grep"

@briandfoy briandfoy merged commit c4c917d into briandfoy:master Jan 29, 2024
@briandfoy briandfoy self-assigned this Jan 29, 2024
@briandfoy briandfoy added Status: accepted The fix is accepted and removed Priority: low get to this whenever labels Jan 29, 2024
@briandfoy
Copy link
Owner

changes: remove TCGREP environment var, use GREP_OPTIONS instead

@briandfoy briandfoy added Status: released there is a new release with this fix and removed Status: accepted The fix is accepted labels Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Program: grep The grep program Status: released there is a new release with this fix Type: enhancement improve a feature that already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants