News for hackers. Stuff that matters.
Re:GCP - cp with a progress bar by nitrogen on Sunday September 08, 2013 @04:22PM (#6350143)
Even if the cat at the beginning of a pipe isn't strictly necessary, it still helps readability to have everything flowing from left to right.
Re:GCP - cp with a progress bar by emillon on Sunday September 08, 2013 @04:59PM (#6350306)
I also advocate this "useless" use of cat, but you can write the redirection before the command:

    <"$1" pv >"$2"
Re:GCP - cp with a progress bar by michaelmior on Monday September 09, 2013 @10:57AM (#6353823)
The bigger problem is that using cat destroys the file size information.