Skip to content

Pager wrapper working with man but not with nnn help #1697

Closed Answered by N-R-K
ghost asked this question in Q&A
Discussion options

You must be logged in to vote
  1. printf "%s" "$(cat)" sed should be able to read from stdin just fine, so this looks entirely useless
  2. Your wrapper doesn't seem to handle files passed via argument

change it to sed $'s/\u2010/\u002d/g' "$@" | moar and see if that works.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
2 replies
@N-R-K
Comment options

@ghost
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant