Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Watch for undocumented behavior of cp -R' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Watch for undocumented behavior of cp -R
Authored by: pjungwir on Mar 22, '09 01:31:18PM

This is a nice workaround, but shouldn't the code be this?:

#!/bin/bash

cp -R "${@%/}"



[ Reply to This | # ]