build compatibility on OS X (no "cp -u" option)
read from ⎕ on console