Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by tzot

2 years ago

> I’m reminded of what I often do at the shell with psub in fish.

ksh and bash too have this as <(…) and >(…) under Process Substitution.

An example from ksh(1) man page:

    paste <(cut -f1 file1) <(cut -f3 file2) | tee >(process1) >(process2)

0 comments

tzot

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities