News for hackers. Stuff that matters.
Re:What you need may be “pipeline +Unix commands” only by aboutruby on Sunday March 03, 2019 @05:29AM (#19293767)
My favorite thing has been `| ruby -e "puts STDIN.to_a. ..."`, allows to run any kind of code on the standard input, much easier than remembering awk/sed various options and much more powerful.

edit: same thing can be done with Python/Perl

Re:What you need may be “pipeline +Unix commands” only by apabepa on Sunday March 03, 2019 @05:46AM (#19293820)
Yes, easier if you know ruby.. sed/awk is good for munching strings in small scripts and it is also always installed on a unix system (AFAIK).
Re:What you need may be “pipeline +Unix commands” only by dredmorbius on Sunday March 03, 2019 @06:47AM (#19294018)
You'll find sed and awk in busybox, virtually always, even on minimal systems. Including embedded devices, routers, Android, etc.