Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Apparantly it's built-in as psub for the <() case (I was looking for the same thing https://news.ycombinator.com/item?id=9569730 ), not sure about >()


Indeed. Came across this:

http://arstechnica.com/information-technology/2005/12/linux-...

I hadn't really thought about that echo'ing the filename might be useful, but this is pretty equivalent to how things work in bash -- with "diff <(some) <(other)", diff gets two temporary file-handles to two fifos -- that are later cleaned up by the shell. As most good ideas, obvious when you think about it :-)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: