Re: [PATCH] cp(1): add -v option for verbosity

2017-06-25 Thread Theo de Raadt
> Job Snijders wrote: > > On Sun, Jun 25, 2017 at 02:06:20PM +0200, Job Snijders wrote: > > > This patch adds a -v option to cp(1) for more verbose output. > > > > NetBSD/FreeBSD/DragonFly/OSX's cp(1) with "-v" print file names without > > the single quotes, which might indeed be more appealing

Re: [PATCH] cp(1): add -v option for verbosity

2017-06-25 Thread Ted Unangst
Job Snijders wrote: > On Sun, Jun 25, 2017 at 02:06:20PM +0200, Job Snijders wrote: > > This patch adds a -v option to cp(1) for more verbose output. > > NetBSD/FreeBSD/DragonFly/OSX's cp(1) with "-v" print file names without > the single quotes, which might indeed be more appealing to the eye:

Re: [PATCH] cp(1): add -v option for verbosity

2017-06-25 Thread Job Snijders
On Sun, Jun 25, 2017 at 02:06:20PM +0200, Job Snijders wrote: > This patch adds a -v option to cp(1) for more verbose output. NetBSD/FreeBSD/DragonFly/OSX's cp(1) with "-v" print file names without the single quotes, which might indeed be more appealing to the eye: $ touch a b; mkdir c

Re: [PATCH] cp(1): add -v option for verbosity

2017-06-25 Thread Paul de Weerd
On Sun, Jun 25, 2017 at 10:49:04PM +0200, Landry Breuil wrote: | > | Alternatively one can use rsync(1), but that is not part of the base. | > | > That may work for cp(1), but it's hard to replicate mv(1) behavior | > with rsync (only metadata changes when on the same fs) or even | > impossible

Re: [PATCH] cp(1): add -v option for verbosity

2017-06-25 Thread Landry Breuil
On Sun, Jun 25, 2017 at 09:59:35PM +0200, Paul de Weerd wrote: > On Sun, Jun 25, 2017 at 06:22:05PM +0200, Job Snijders wrote: > | Dear Alexander, > | > | On Sun, Jun 25, 2017 at 06:13:40PM +0200, Alexander Hall wrote: > | > On June 25, 2017 2:06:20 PM GMT+02:00, Job Snijders

Re: [PATCH] cp(1): add -v option for verbosity

2017-06-25 Thread Paul de Weerd
On Sun, Jun 25, 2017 at 06:22:05PM +0200, Job Snijders wrote: | Dear Alexander, | | On Sun, Jun 25, 2017 at 06:13:40PM +0200, Alexander Hall wrote: | > On June 25, 2017 2:06:20 PM GMT+02:00, Job Snijders wrote: | > >This patch adds a -v option to cp(1) for more verbose

Re: [PATCH] cp(1): add -v option for verbosity

2017-06-25 Thread Job Snijders
Dear Alexander, On Sun, Jun 25, 2017 at 06:13:40PM +0200, Alexander Hall wrote: > On June 25, 2017 2:06:20 PM GMT+02:00, Job Snijders > wrote: > >This patch adds a -v option to cp(1) for more verbose output. > > > > $ touch a b; mkdir c > > $ cp -v a b c > > 'a'

Re: [PATCH] cp(1): add -v option for verbosity

2017-06-25 Thread Alexander Hall
On June 25, 2017 2:06:20 PM GMT+02:00, Job Snijders wrote: >Dear team, > >This patch adds a -v option to cp(1) for more verbose output. > > $ touch a b; mkdir c > $ cp -v a b c > 'a' -> 'c/a' > 'b' -> 'c/b' > $ cp -rv c d > 'c' -> 'd/' >

[PATCH] cp(1): add -v option for verbosity

2017-06-25 Thread Job Snijders
Dear team, This patch adds a -v option to cp(1) for more verbose output. $ touch a b; mkdir c $ cp -v a b c 'a' -> 'c/a' 'b' -> 'c/b' $ cp -rv c d 'c' -> 'd/' 'c/a' -> 'd/a' 'c/b' -> 'd/b' Kind regards, Job diff --git bin/cp/cp.1