From: Robert Mustacchi <rm@fingolfin.org>
To: illumos-developer <developer@lists.illumos.org>
Subject: [developer] 16197 cp/mv: add option -n
Date: Sun, 15 Sep 2024 12:45:54 -0700 [thread overview]
Message-ID: <c3713a62-86d0-42ad-8d3c-e647f55d69fe@fingolfin.org> (raw)
https://code.illumos.org/c/illumos-gate/+/3693
This adds support to cp for the -n option. cp, mv, and ln are built from
the same source. This stumbled over a few things along the way and some
constification for good measure. Note this is a little thorny. I've
tried to minimize concrete behavior changes to things that were mostly
pathologically against the option spirit. See the long block comments in
mv for more information.
Robert
------------------------------------------
illumos: illumos-developer
Permalink: https://illumos.topicbox.com/groups/developer/Ta9ba30a2de91fe2d-M3849e943d5f8f53fc5bd6185
Delivery options: https://illumos.topicbox.com/groups/developer/subscription
reply other threads:[~2024-09-15 19:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c3713a62-86d0-42ad-8d3c-e647f55d69fe@fingolfin.org \
--to=rm@fingolfin.org \
--cc=developer@lists.illumos.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).