![]() |
2013-02-19
, 01:13
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#52
|
The Following User Says Thank You to Addison For This Useful Post: | ||
![]() |
2013-02-19
, 01:22
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#53
|
The Following User Says Thank You to Addison For This Useful Post: | ||
![]() |
2013-02-19
, 17:12
|
Posts: 78 |
Thanked: 109 times |
Joined on Jan 2012
@ Washington State
|
#54
|
All I would like is to also get rid of all the "|> " and """ characters as well if this is possible.
![]() |
2013-02-19
, 19:56
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#55
|
The Following User Says Thank You to Addison For This Useful Post: | ||
![]() |
2013-02-19
, 20:08
|
Posts: 78 |
Thanked: 109 times |
Joined on Jan 2012
@ Washington State
|
#56
|
The thing is it won't display the song now until after it has finished playing.
![]() |
2013-02-19
, 20:17
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#57
|
The Following User Says Thank You to Addison For This Useful Post: | ||
![]() |
2013-02-20
, 00:24
|
Posts: 78 |
Thanked: 109 times |
Joined on Jan 2012
@ Washington State
|
#58
|
Dang it I'm super dumb.
llib pianobar | sed -u 's/|> //'
sed: invalid option -- u
![]() |
2013-02-20
, 00:28
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#59
|
The Following User Says Thank You to Addison For This Useful Post: | ||
![]() |
2013-02-20
, 01:33
|
Posts: 78 |
Thanked: 109 times |
Joined on Jan 2012
@ Washington State
|
#60
|
Thanks!
Okay, once last thing, how do I string these all together?
llib pianobar -u | sed 's/|> //' | sed -u 's/ "//' | grep -v "(i) Receiving new playlist... Ok." | grep -v "Station"
Am I using the pipe command correctly?
Oh, and what if I want to gag multiple outputs such as
llib pianobar | grep -v "|>" "(i) Receiving new playlist... Ok."?
I don't know how to add a second filter to that grep command, and yes, I looked online for about 30 minutes on this already and couldn't find it.