[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new coreutil? shuffle - randomize file contents
From: |
Eric Blake |
Subject: |
Re: new coreutil? shuffle - randomize file contents |
Date: |
Fri, 15 Jul 2005 15:48:42 +0000 |
>
> Is there a script for making a patch with all the right files excluded
> by the way? "cvs diff" produces a huge amount of unrelated output
> because of files that are both in the repository and touched by
> "configure", and it doesn't list new files. And "diff" doesn't seem to
> have an --include option to match its --exclude...
diff -N includes new files, and cvs diff takes arguments to pass to diff,
as well as a list of filenames to limit its diff to. With the help of cvsutils,
even read-only access can fake adding files to CVS. My typical usage is:
$ cat ~/.cvsrc
cvs -qz4
update -Pd
diff -uN
$ cvsdo add src/randseed.[hc]
...
$ cvs diff src/sort.c src/checksum.h src/randseed.[hc]
...
--
Eric Blake
- Re: new coreutil? shuffle - randomize file contents,
Eric Blake <=