Skip to content

Pipe operator not working in deflisten? #1213

Closed Answered by silicon-salamander
jeancf asked this question in Q&A
Discussion options

You must be logged in to vote

Is there an advantage to doing it this over using the --line-buffered option?
grep by itself does work well for long running streams.
For example one of my scripts has this:

pactl subscribe | grep --line-buffered "Event 'change' on"

This outputs the lines immediately as they are matched instead of the normal buffering that grep will do.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@jeancf
Comment options

@silicon-salamander
Comment options

Comment options

You must be logged in to vote
4 replies
@silicon-salamander
Comment options

Answer selected by jeancf
@hypernova7
Comment options

@silicon-salamander
Comment options

@hypernova7
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants