Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rav
· 5mo ago · 0 comments
Today I learned that jq -Rrj is a shorter command line for doing the same as tr -d '\n'.
Comments
[–]
stouset
5mo ago
IIRC you don’t even need the -r flag since -j incorporates its behavior (minus newlines).