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

Trim trailing whitespace #120

Merged
merged 1 commit into from
Aug 24, 2024
Merged

Conversation

awilkins
Copy link
Contributor

@awilkins awilkins commented Jul 7, 2024

Otherwise MANPAGER's trailing whitespace is escaped, which adds the next line of export as part of the command.

export MANPAGER=env\ BATMAN_IS_BEING_MANPAGER=yes\ bash\ /usr/local/bin/batman\ 
export MANROFFOPT=-c

and you get cat: export: No such file or directory

@eth-p
Copy link
Owner

eth-p commented Aug 24, 2024

Good catch, thank you for fixing it!

Otherwise `MANPAGER`'s trailing whitespace is escaped, which adds the next line of `export` as part of the command.

```bash
export MANPAGER=env\ BATMAN_IS_BEING_MANPAGER=yes\ bash\ /usr/local/bin/batman\
export MANROFFOPT=-c
```

and you get `cat: export: No such file or directory`
@eth-p eth-p force-pushed the fix/replace-manpager-error branch from d5583df to 47ccb20 Compare August 24, 2024 20:49
@eth-p
Copy link
Owner

eth-p commented Aug 24, 2024

I had to rebase it to fix conflicts, sorry. Merging now.

@eth-p eth-p merged commit 32706dd into eth-p:master Aug 24, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants