[PATCH] adding two new options to 'cp'
Jason Slagle
raistlin at tacorp.net
Mon Jul 31 16:54:32 UTC 2006
On Mon, 31 Jul 2006, Mike Meyer wrote:
> snake% uname -a
> FreeBSD snake.mired.org 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386
> snake% ls -l /bin/cp
> -r-xr-xr-x 1 root wheel 15300 May 6 23:56 /bin/cp
>
>
flea# ls -l cp
-rwxr-xr-x 1 root wheel 15300 Jul 31 12:52 cp
flea# ./cp -a cp.o cp.o.2
flea# ./cp
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-apv] source_file target_file
cp [-R [-H | -L | -P]] [-f | -i | -n] [-apv] source_file ... target_directory
flea# ls -l /bin/cp
-r-xr-xr-x 1 root wheel 15300 Apr 24 13:55 /bin/cp
flea#
Looks to me with optimizations, the addition of the option seems to add
nothing for the -a case at least.
Jason
--
Jason Slagle
/"\ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
\ / ASCII Ribbon Campaign .
X - NO HTML/RTF in e-mail .
/ \ - NO Word docs in e-mail .
More information about the freebsd-hackers
mailing list