‹ BackHN Continuity

Thread

cp: -r or -R?

127 points · 110 comments · zdw

  1. chasil · · focus · HN ↗
    The POSIX standard does not appear to support -r lowercase (so don't use it!):

    <a href="https:&#x2F;&#x2F;pubs.opengroup.org&#x2F;onlinepubs&#x2F;9799919799&#x2F;utilities&#x2F;cp.html" rel="nofollow">https:&#x2F;&#x2F;pubs.opengroup.org&#x2F;onlinepubs&#x2F;9799919799&#x2F;utilities&#x2F;c...

    <a href="https:&#x2F;&#x2F;pubs.opengroup.org&#x2F;onlinepubs&#x2F;9799919799&#x2F;utilities&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pubs.opengroup.org&#x2F;onlinepubs&#x2F;9799919799&#x2F;utilities&#x2F;

    Edit: adjusted to the latest version of the standard.

    1. mzhaase · · focus · HN ↗
      Wow, 24 years of Linux, I never bothered to look it up. Thanks.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.