Hacker News new | past | comments | ask | show | jobs | submit login

I also advocate this "useless" use of cat, but you can write the redirection before the command:

    <"$1" pv >"$2"



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: