A request for cp flag

Steve O'Hara-Smith steve at sohara.org
Mon Oct 17 18:39:01 UTC 2016


On Mon, 17 Oct 2016 15:59:10 +0100
Matthew Seaman <matthew at FreeBSD.org> wrote:

> You're not going to get anyone to change the behaviour of a core command
> like cp(1) I'm afraid.  For all that you dislike the behaviour when
> copying a directory path that ends in '/' there will be many, many more
> people that have written scripts that depend on that exact behaviour and
> will be exceedingly peeved if those scripts stop working.

	Adding a -r flag wouldn't break anything at least until POSIX adds
one that does something else and then there'd be a decision to make, for
that reason I doubt anyone would entertain a new single letter option to cp.

-- 
Steve O'Hara-Smith <steve at sohara.org>


More information about the freebsd-questions mailing list