From Newsgroup: comp.os.linux.misc
On 2024-11-14, Eli the Bearded <*@eli.users.panix.com> wrote:
In comp.os.linux.misc, Clemens Schüller <cs.usenet@mailbox.org> wrote:
I increase it with
--8<---------------cut here---------------start------------->8---
nowplaying-cli get artist title | perl -p -e "s/\n/ - /" | rev | -c4- | rev >> --8<---------------cut here---------------end--------------->8---
Okay, I give up.
1. How does that relate to EBCDIC?
2. What is the "-c4-" step doing?
(I have no programs on my path that start with "-". I do have a few that
end with "-".)
Elijah
------
"rev | rev" is no-op so really curious about the middle transition
I think the OP dropped a word - "cut -c4-" would make it
drop the first 3 characters of each line.
--
/~\ Charlie Gibbs | Growth for the sake of
\ / <
cgibbs@kltpzyxm.invalid> | growth is the ideology
X I'm really at ac.dekanfrus | of the cancer cell.
/ \ if you read it the right way. | -- Edward Abbey
--- Synchronet 3.20a-Linux NewsLink 1.114