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: ojohns on Nov 16, '05 12:03:19PM

I had wondered whether this was standard BSD behavior. I am familiar only with
Linux and OSX. Evidently, BSD generally uses the trailing / as a flag, whereas Linux does not. May I suggest to the BSD community that someone should perhaps rewrite the BSD man page to describe what actually happens? :-)

---
ODJ



[ Reply to This | # ]
Watch for undocumented behavior of cp -R
Authored by: emagius on Nov 16, '05 06:38:46PM

It's standard UNIX behavior. When the GNU folks copied cp, they goofed. You'll see this with quite a few GNU utilities, actually.



[ Reply to This | # ]