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

ugrep --hyperlink unconditionally prepends CWD to hyperlinks of absolute paths #412

Closed
stephentalley opened this issue Jul 30, 2024 · 1 comment
Labels
problem Something isn't working due to a (minor) problem

Comments

@stephentalley
Copy link

Running ugrep 6.2.

  1. ugrep a matching pattern in any absolute path:
cd /tmp; ugrep --hyperlink -H a /etc/passwd /dev/null
  1. Clicking /etc/passwd in the terminal launches a viewer for /tmp//etc/passwd. It appears that the hyperlinking code is assuming the file names are relative and appending the CWD, rather than leaving them as-is.
@genivia-inc
Copy link
Member

Ah, that's easy to fix. Will be updated in 6.3.

@genivia-inc genivia-inc added the problem Something isn't working due to a (minor) problem label Jul 31, 2024
genivia-inc added a commit that referenced this issue Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working due to a (minor) problem
Projects
None yet
Development

No branches or pull requests

2 participants