Created attachment 1443 [details] redirect expr's output to /dev/null If you run ssh-copy-id with the -i option and specify a file name ending in .pub, it prints a number before doing anything. This is because the expr call on line 14 prints the number of characters matched. The output of expr should be redirected to /dev/null. Current in 4.7p1 on Fedora.
patch applied - thanks!
Fix shipped in 4.9/4.9p1 release.