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

Named pipes don't work?

Or some bash magic: `handbrake-cli -i <(cat video-file.mp4)`?

I never used handbrake-cli, only used the gui before, so I have no idea.



No need for cat…


I think it is needed in bash. In zsh you can do <(<file) but I don't think that redirect without a command works.


The cat command is meant as a placeholder for whatever other commands are used for printing out a file stream to stdout.




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

Search: