View Single Post
Posts: 78 | Thanked: 109 times | Joined on Jan 2012 @ Washington State
#48
Originally Posted by Addison View Post
In Xterm or any other terminal, do you know if there is a way to gag certain text output such as "|> " and "(i) Receiving new playlist... Ok."?
In terms of text filtering, "grep -v <pattern>" excludes lines
which match <pattern>. So:

command | grep -v "|>" > output.txt

would filter off lines with "|>" (as output by "command") and the result goes into output.txt file.

Andy
 

The Following 2 Users Say Thank You to vandys For This Useful Post: