News for hackers. Stuff that matters.
Re:The Beauty of Unix Pipelines by jlg23 on Friday June 05, 2020 @03:32AM (#23425964)
Or you just pipe through the program of your choice for which you know the syntax:

  echo "foo bar fnord" | cut --delimiter " " --output-delimiter ":" -f1-

  # foo:bar:fnord
Re:The Beauty of Unix Pipelines by bloopernova on Friday June 05, 2020 @09:35AM (#23428316)
I love learning new things about commands I've used for years.

    --output-delimiter ":"
Very cool!

However it does require the GNU version of cut, not the Mac OS X supplied BSD version. In zsh at least, you can do:

    alias cut='/usr/local/bin/gcut'