Bug #184

cp add -a document -r

Added by andy over 8 years ago. Updated about 5 years ago.

Status:ClosedStart date:
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Hoi,

this patch adds the -a flag to cp(1) and documents the -r flag.
Also it cleans up the Synopsis (-pv -> -p -v).

The -a flag is the same as -rp and is quite convenient and in
the semantic tradition of other tools, like rsync -a, it also
exists on other systems.

History

#1 Updated by joerg over 8 years ago

On Fri, May 26, 2006 at 05:31:39PM +0200, Andreas Hauser wrote:
> this patch adds the -a flag to cp(1) and documents the -r flag.
> Also it cleans up the Synopsis (-pv -> -p -v).

The 'r' flag *is* documented. And exactly for the reasons given in the
man page, I don't want to see this commited.

No objection about the cleanup of the synopsis (with the exception of
-r).

Joerg

#2 Updated by andy over 8 years ago

joerg wrote @ Fri, 26 May 2006 18:09:35 +0200:
> On Fri, May 26, 2006 at 05:31:39PM +0200, Andreas Hauser wrote:
> > this patch adds the -a flag to cp(1) and documents the -r flag.
> > Also it cleans up the Synopsis (-pv -> -p -v).
>
> The 'r' flag *is* documented. And exactly for the reasons given in the
> man page, I don't want to see this commited.

This patch documents -r but tells you not to use it.
It makes -a be -Rp.
It also adds a to getopt ...

#3 Updated by tuxillo over 6 years ago

Finally, I don't see -a committed.

Additionally, I don't see any attachment here.
What is the sense of this issue yet opened?

#4 Updated by tuxillo about 5 years ago

-r seems to be documented already in cp(1) manpage

"Historic versions of the cp utility had a -r option. This implementation
supports that option, however, its use is strongly discouraged, as it
does not correctly copy special files, symbolic links or fifo's."

I don't see any opinion about -a option. I will close this ticket soon if no
feedback.

#5 Updated by alexh about 5 years ago

No patch, no nothing. I'm closing this.

Also available in: Atom PDF