Subject: Re: diff -u of src/bin/cp/
To: Jason R. Fink <jrf@adresearch.com>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-userlevel
Date: 12/12/2002 18:50:19
On Thu, 12 Dec 2002, Jason R. Fink wrote:
> Attached is a cvs diff -u of the contents of
> src/bin/cp

Looks ok to me, but I think we should convert all (well) most of the
utilities to support that then, at least mv, rm, ln:

miyu% gcp /etc/passwd /tmp
miyu% gcp -v /etc/passwd /tmp
`/etc/passwd' -> `/tmp/passwd'
miyu% gmv -v /tmp/passwd /tmp/xx
`/tmp/passwd' -> `/tmp/xx'
miyu% gmv -v /tmp/passwd /tmp/xx
miyu% cd /tmp
miyu% ln -v xx yy
ln: unknown option -- v
Usage:  ln [-fhns] file1 file2
        ln [-fhns] file ... directory
miyu% gln -v xx yy
create hard link `yy' to `xx'
miyu% gln -v -s /etc/passwd p
create symbolic link `p' to `/etc/passwd'
miyu% grm -v yy xx
removed `yy'
removed `xx'
miyu%

Might also be worth looking at what FreeBSD/OpenBSD print, if they do so.


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/