News for hackers. Stuff that matters.
Re:Linux Text Manipulation by evh on Thursday March 28, 2024 @07:20PM (#39858637)

    awk '{ k = $1; sub("^[^ ]* *", "", $0); d[k] = $0; } END { print d["Title"], "by", d["Artist"]; }'
Personally I'm a bit of a sed fan

    sed -nE '/^Artist/{N;s/^Artist +(.*)\nTitle +(.*)/\2 by \1/p;}'

There are no comments on this comment yet.