]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Add/fix copyright notices and adjust to latest GNU FDL.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Aug 2006 19:58:17 +0000 (19:58 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Aug 2006 19:58:17 +0000 (19:58 +0000)
363 files changed:
.vg-suppressions
COPYING
ChangeLog
ChangeLog-2005
Makefile.am
NEWS
README
README-valgrind
TODO
announce-gen
build-aux/ChangeLog
build-aux/vc-list-files
doc/ChangeLog
doc/Makefile.am
doc/coreutils.texi
doc/fdl.texi [moved from doc/doclicense.texi with 50% similarity]
doc/getdate.texi
doc/perm.texi
lib/.gdb-history
lib/ChangeLog
lib/TODO
lib/__fpending.h
lib/fdopendir-glibc.c
lib/fprintftime.h
lib/root-dev-ino.h
lib/savedir.c
lib/savedir.h
lib/search_.h
lib/t-chdir-long
lib/t-fpending.c
m4/ChangeLog
m4/check-decl.m4
man/Makefile.am
man/chmod.x
man/chown.x
man/df.x
man/du.x
man/rm.x
old/fileutils/ChangeLog
old/fileutils/ChangeLog-1997
old/fileutils/NEWS
old/sh-utils/ChangeLog
old/sh-utils/ChangeLog.0
old/sh-utils/NEWS
old/textutils/ChangeLog
old/textutils/NEWS
po/ChangeLog
po/Makevars
src/dircolors.hin
src/du-tests
src/extract-magic
src/tac-pipe.c
src/uname.c
src/wheel-gen.pl
tests/Coreutils.pm
tests/Makefile.am.in
tests/acl
tests/chgrp/basic
tests/chgrp/deref
tests/chgrp/no-x
tests/chgrp/posix-H
tests/chgrp/recurse
tests/chmod/c-option
tests/chmod/equal-x
tests/chmod/equals
tests/chmod/no-x
tests/chmod/octal
tests/chmod/setgid
tests/chmod/umask-x
tests/chmod/usage
tests/chown/basic
tests/chown/deref
tests/chown/separator
tests/cp/Makefile.am
tests/cp/acl
tests/cp/backup-1
tests/cp/backup-is-src
tests/cp/cp-HL
tests/cp/cp-deref
tests/cp/cp-mv-backup
tests/cp/cp-parents
tests/cp/deref-slink
tests/cp/dir-rm-dest
tests/cp/dir-slash
tests/cp/dir-vs-file
tests/cp/fail-perm
tests/cp/into-self
tests/cp/link
tests/cp/link-no-deref
tests/cp/link-preserve
tests/cp/no-deref-link1
tests/cp/no-deref-link2
tests/cp/no-deref-link3
tests/cp/perm
tests/cp/preserve-2
tests/cp/r-vs-symlink
tests/cp/same-file
tests/cp/slink-2-slink
tests/cp/special-bits
tests/cp/symlink-slash
tests/cut/Makefile.am
tests/cut/Test.pm
tests/dd/misc
tests/dd/not-rewound
tests/dd/skip-seek
tests/dd/skip-seek2
tests/dd/unblock-sync
tests/dircolors/simple
tests/du/2g
tests/du/8gb
tests/du/Makefile.am
tests/du/basic
tests/du/deref
tests/du/deref-args
tests/du/exclude
tests/du/fd-leak
tests/du/files0-from
tests/du/hard-link
tests/du/inaccessible-cwd
tests/du/long-from-unreadable
tests/du/long-sloop
tests/du/no-deref
tests/du/no-x
tests/du/restore-wd
tests/du/slash
tests/du/slink
tests/du/trailing-slash
tests/du/two-args
tests/envvar-check
tests/expensive
tests/expr/basic
tests/factor/basic
tests/fmt/basic
tests/fmt/long-line
tests/general/Makefile.am
tests/general/atgeneral.m4
tests/general/dd.at
tests/group-names
tests/head/Makefile.am
tests/head/Test.pm
tests/help-version
tests/install/basic-1
tests/install/create-leading
tests/install/d-slashdot
tests/install/trap
tests/join/Makefile.am
tests/join/Test.pm
tests/ln/backup-1
tests/ln/misc
tests/ln/sf-1
tests/ln/target-1
tests/ls-2/tests
tests/ls/Makefile.am
tests/ls/Test.pm
tests/ls/dangle
tests/ls/dired
tests/ls/file-type
tests/ls/follow-slink
tests/ls/infloop
tests/ls/inode
tests/ls/m-option
tests/ls/no-arg
tests/ls/recursive
tests/ls/rt-1
tests/ls/stat-dtype
tests/ls/stat-failed
tests/ls/stat-vs-dirent
tests/ls/symlink-slash
tests/ls/time-1
tests/md5sum/basic-1
tests/md5sum/newline-1
tests/misc/Makefile.am
tests/misc/base64
tests/misc/basename
tests/misc/cat-proc
tests/misc/close-stdout
tests/misc/csplit
tests/misc/date
tests/misc/date-sec
tests/misc/df
tests/misc/dirname
tests/misc/expand
tests/misc/false-status
tests/misc/fold
tests/misc/head-c
tests/misc/head-elide-tail
tests/misc/head-pos
tests/misc/mknod
tests/misc/nice
tests/misc/nl
tests/misc/nohup
tests/misc/paste-no-nl
tests/misc/pathchk1
tests/misc/printf
tests/misc/printf-hex
tests/misc/pwd-long
tests/misc/sha224sum
tests/misc/sha256sum
tests/misc/sha384sum
tests/misc/sha512sum
tests/misc/shuf
tests/misc/sort-merge
tests/misc/sort-rand
tests/misc/split-a
tests/misc/split-fail
tests/misc/split-l
tests/misc/stat-fmt
tests/misc/stat-printf
tests/misc/tac-continue
tests/misc/test-diag
tests/misc/tty-eof
tests/misc/wc-files0
tests/misc/wc-files0-from
tests/mk-script
tests/mkdir/concurrent-1
tests/mkdir/p-1
tests/mkdir/p-2
tests/mkdir/p-3
tests/mkdir/p-slashdot
tests/mkdir/p-thru-slink
tests/mkdir/parents
tests/mkdir/perm
tests/mkdir/special-1
tests/mkdir/t-slash
tests/mkdir/writable-under-readonly
tests/mv/Makefile.am
tests/mv/acl
tests/mv/atomic
tests/mv/backup-is-src
tests/mv/childproof
tests/mv/diag
tests/mv/dir-file
tests/mv/dir2dir
tests/mv/dup-source
tests/mv/force
tests/mv/hard-2
tests/mv/hard-3
tests/mv/hard-4
tests/mv/hard-link-1
tests/mv/i-1
tests/mv/i-2
tests/mv/i-3
tests/mv/i-4
tests/mv/i-link-no
tests/mv/into-self
tests/mv/into-self-2
tests/mv/into-self-3
tests/mv/into-self-4
tests/mv/leak-fd
tests/mv/mv-special-1
tests/mv/no-target-dir
tests/mv/part-fail
tests/mv/part-hardlink
tests/mv/part-rename
tests/mv/part-symlink
tests/mv/partition-perm
tests/mv/perm-1
tests/mv/reply-no
tests/mv/setup
tests/mv/to-symlink
tests/mv/trailing-slash
tests/mv/update
tests/mv/vfat
tests/od/od-N
tests/od/x8
tests/pr/Makefile.am
tests/pr/Test.pm
tests/priv-check
tests/readlink/can-e
tests/readlink/can-f
tests/readlink/can-m
tests/readlink/rl-1
tests/rm/Makefile.am
tests/rm/cycle
tests/rm/dangling-symlink
tests/rm/deep-1
tests/rm/dir-no-w
tests/rm/dir-nonrecur
tests/rm/dot-rel
tests/rm/empty-inacc
tests/rm/empty-name
tests/rm/f-1
tests/rm/fail-2eperm
tests/rm/fail-eperm
tests/rm/hash
tests/rm/i-1
tests/rm/i-no-r
tests/rm/inaccessible
tests/rm/interactive-always
tests/rm/interactive-once
tests/rm/ir-1
tests/rm/isatty
tests/rm/no-give-up
tests/rm/r-1
tests/rm/r-2
tests/rm/r-3
tests/rm/rm1
tests/rm/rm2
tests/rm/rm3
tests/rm/rm4
tests/rm/rm5
tests/rm/sunos-1
tests/rm/unread2
tests/rm/unread3
tests/rm/unreadable
tests/rmdir/fail-perm
tests/rmdir/ignore
tests/rmdir/t-slash
tests/rwx-to-mode
tests/sample-test
tests/seq/basic
tests/setgid-check
tests/sha1sum/basic-1
tests/sha1sum/sample-vec
tests/shred/exact
tests/shred/remove
tests/sort-time/Makefile
tests/sort-time/README
tests/sort-time/rand-gen
tests/sort/Makefile.am
tests/sort/Test.pm
tests/stty/basic-1
tests/stty/row-col-1
tests/sum/basic-1
tests/sum/sysv
tests/tac/Makefile.am
tests/tac/Test.pm
tests/tail-2/Makefile.am
tests/tail-2/append-only
tests/tail-2/assert
tests/tail-2/assert-2
tests/tail-2/big-4gb
tests/tail-2/fflush
tests/tail-2/infloop-1
tests/tail-2/proc-ksyms
tests/tail-2/start-middle
tests/tail-2/tail-n0f
tests/tail/Makefile.am
tests/tail/Test.pm
tests/tee/basic
tests/tee/dash
tests/test/Makefile.am
tests/test/Test.pm
tests/touch/Makefile.am
tests/touch/dangling-symlink
tests/touch/empty-file
tests/touch/fail-diag
tests/touch/fifo
tests/touch/no-create-missing
tests/touch/no-rights
tests/touch/not-owner
tests/touch/obsolescent
tests/touch/read-only
tests/touch/relative
tests/tr/Makefile.am
tests/tr/Test.pm
tests/tr/failures
tests/tsort/basic-1
tests/unexpand/basic-1
tests/uniq/Makefile.am
tests/uniq/Test.pm
tests/wc/Makefile.am
tests/wc/Test.pm

index 8aad5341eb40667126c0c6421aef63aaa06be394..1223a54bce9031542e7d4270381765906d72dacf 100644 (file)
@@ -1,3 +1,22 @@
+# Suppress valgrind diagnostics we don't care about.
+
+# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 {
    libc_dl_open
    Memcheck:Cond
diff --git a/COPYING b/COPYING
index 3912109b5cd65a68039d473c11c9f7ac2303e06d..d511905c1647a1e311e8b20d5930a37a9c2531cd 100644 (file)
--- a/COPYING
+++ b/COPYING
@@ -1,8 +1,8 @@
                    GNU GENERAL PUBLIC LICENSE
                       Version 2, June 1991
 
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
                      51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
 
@@ -15,7 +15,7 @@ software--to make sure the software is free for all its users.  This
 General Public License applies to most of the Free Software
 Foundation's software and to any other program whose authors commit to
 using it.  (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.)  You can apply it to
+the GNU Lesser General Public License instead.)  You can apply it to
 your programs, too.
 
   When we speak of free software, we are referring to freedom, not
@@ -55,7 +55,7 @@ patent must be licensed for everyone's free use or not licensed at all.
 
   The precise terms and conditions for copying, distribution and
 modification follow.
-\f
+
                    GNU GENERAL PUBLIC LICENSE
    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 
@@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
     License.  (Exception: if the Program itself is interactive but
     does not normally print such an announcement, your work based on
     the Program is not required to print an announcement.)
-\f
+
 These requirements apply to the modified work as a whole.  If
 identifiable sections of that work are not derived from the Program,
 and can be reasonably considered independent and separate works in
@@ -168,7 +168,7 @@ access to copy from a designated place, then offering equivalent
 access to copy the source code from the same place counts as
 distribution of the source code, even though third parties are not
 compelled to copy the source along with the object code.
-\f
+
   4. You may not copy, modify, sublicense, or distribute the Program
 except as expressly provided under this License.  Any attempt
 otherwise to copy, modify, sublicense or distribute the Program is
@@ -225,7 +225,7 @@ impose that choice.
 
 This section is intended to make thoroughly clear what is believed to
 be a consequence of the rest of this License.
-\f
+
   8. If the distribution and/or use of the Program is restricted in
 certain countries either by patents or by copyrighted interfaces, the
 original copyright holder who places the Program under this License
@@ -278,7 +278,7 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGES.
 
                     END OF TERMS AND CONDITIONS
-\f
+
            How to Apply These Terms to Your New Programs
 
   If you develop a new program, and you want it to be of the greatest
@@ -303,10 +303,9 @@ the "copyright" line and a pointer to where the full notice is found.
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.
 
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
+    You should have received a copy of the GNU General Public License along
+    with this program; if not, write to the Free Software Foundation, Inc.,
+    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 Also add information on how to contact you by electronic and paper mail.
 
@@ -336,5 +335,5 @@ necessary.  Here is a sample; alter the names:
 This General Public License does not permit incorporating your program into
 proprietary programs.  If your program is a subroutine library, you may
 consider it more useful to permit linking proprietary applications with the
-library.  If this is what you want to do, use the GNU Library General
+library.  If this is what you want to do, use the GNU Lesser General
 Public License instead of this License.
index 416f7a2a1a67aad55e96964cec65646fe8be69be..7be0cc81eecb1f72f3435ad86ef72422af506e05 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,341 @@
+2006-08-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Copyright notice fixes.
+
+       * COPYING: Upgrade to latest version from FSF.
+
+       * src/uname.c: Use (C) in copyright notice.
+
+       * .vg-suppressions: Add copyright notice.
+       * ChangeLog: Likewise.
+       * ChangeLog-2005: Likewise.
+       * Makefile.am: Likewise.
+       * NEWS: Likewise.
+       * README: Likewise.
+       * README-valgrind: Likewise.
+       * TODO: Likewise.
+       * announce-gen: Likewise.
+       * man/Makefile.am: Likewise.
+       * man/chmod.x: Likewise.
+       * man/chown.x: Likewise.
+       * man/df.x: Likewise.
+       * man/du.x: Likewise.
+       * man/rm.x: Likewise.
+       * src/dircolors.hin: Likewise.
+       * src/du-tests: Likewise.
+       * src/extract-magic: Likewise.
+       * src/tac-pipe.c: Likewise.
+       * src/wheel-gen.pl: Likewise.
+       * tests/Coreutils.pm: Likewise.
+       * tests/Makefile.am.in: Likewise.
+       * tests/acl: Likewise.
+       * tests/envvar-check: Likewise.
+       * tests/expensive: Likewise.
+       * tests/group-names: Likewise.
+       * tests/help-version: Likewise.
+       * tests/mk-script: Likewise.
+       * tests/priv-check: Likewise.
+       * tests/rwx-to-mode: Likewise.
+       * tests/sample-test: Likewise.
+       * tests/setgid-check: Likewise.
+       * tests/chgrp/basic: Likewise.
+       * tests/chgrp/deref: Likewise.
+       * tests/chgrp/no-x: Likewise.
+       * tests/chgrp/posix-H: Likewise.
+       * tests/chgrp/recurse: Likewise.
+       * tests/chmod/c-option: Likewise.
+       * tests/chmod/equal-x: Likewise.
+       * tests/chmod/equals: Likewise.
+       * tests/chmod/no-x: Likewise.
+       * tests/chmod/octal: Likewise.
+       * tests/chmod/setgid: Likewise.
+       * tests/chmod/umask-x: Likewise.
+       * tests/chmod/usage: Likewise.
+       * tests/chown/basic: Likewise.
+       * tests/chown/deref: Likewise.
+       * tests/chown/separator: Likewise.
+       * tests/cp/Makefile.am: Likewise.
+       * tests/cp/acl: Likewise.
+       * tests/cp/backup-1: Likewise.
+       * tests/cp/backup-is-src: Likewise.
+       * tests/cp/cp-HL: Likewise.
+       * tests/cp/cp-deref: Likewise.
+       * tests/cp/cp-mv-backup: Likewise.
+       * tests/cp/cp-parents: Likewise.
+       * tests/cp/deref-slink: Likewise.
+       * tests/cp/dir-rm-dest: Likewise.
+       * tests/cp/dir-slash: Likewise.
+       * tests/cp/dir-vs-file: Likewise.
+       * tests/cp/fail-perm: Likewise.
+       * tests/cp/into-self: Likewise.
+       * tests/cp/link: Likewise.
+       * tests/cp/link-no-deref: Likewise.
+       * tests/cp/link-preserve: Likewise.
+       * tests/cp/no-deref-link1: Likewise.
+       * tests/cp/no-deref-link2: Likewise.
+       * tests/cp/no-deref-link3: Likewise.
+       * tests/cp/perm: Likewise.
+       * tests/cp/preserve-2: Likewise.
+       * tests/cp/r-vs-symlink: Likewise.
+       * tests/cp/same-file: Likewise.
+       * tests/cp/slink-2-slink: Likewise.
+       * tests/cp/special-bits: Likewise.
+       * tests/cp/symlink-slash: Likewise.
+       * tests/cut/Makefile.am: Likewise.
+       * tests/cut/Test.pm: Likewise.
+       * tests/dd/misc: Likewise.
+       * tests/dd/not-rewound: Likewise.
+       * tests/dd/skip-seek: Likewise.
+       * tests/dd/skip-seek2: Likewise.
+       * tests/dd/unblock-sync: Likewise.
+       * tests/dircolors/simple: Likewise.
+       * tests/du/2g: Likewise.
+       * tests/du/8gb: Likewise.
+       * tests/du/Makefile.am: Likewise.
+       * tests/du/basic: Likewise.
+       * tests/du/deref: Likewise.
+       * tests/du/deref-args: Likewise.
+       * tests/du/exclude: Likewise.
+       * tests/du/fd-leak: Likewise.
+       * tests/du/files0-from: Likewise.
+       * tests/du/hard-link: Likewise.
+       * tests/du/inaccessible-cwd: Likewise.
+       * tests/du/long-from-unreadable: Likewise.
+       * tests/du/long-sloop: Likewise.
+       * tests/du/no-deref: Likewise.
+       * tests/du/no-x: Likewise.
+       * tests/du/restore-wd: Likewise.
+       * tests/du/slash: Likewise.
+       * tests/du/slink: Likewise.
+       * tests/du/trailing-slash: Likewise.
+       * tests/du/two-args: Likewise.
+       * tests/expr/basic: Likewise.
+       * tests/factor/basic: Likewise.
+       * tests/fmt/basic: Likewise.
+       * tests/fmt/long-line: Likewise.
+       * tests/general/Makefile.am: Likewise.
+       * tests/general/atgeneral.m4: Likewise.
+       * tests/general/dd.at: Likewise.
+       * tests/head/Makefile.am: Likewise.
+       * tests/head/Test.pm: Likewise.
+       * tests/install/basic-1: Likewise.
+       * tests/install/create-leading: Likewise.
+       * tests/install/d-slashdot: Likewise.
+       * tests/install/trap: Likewise.
+       * tests/join/Makefile.am: Likewise.
+       * tests/join/Test.pm: Likewise.
+       * tests/ln/backup-1: Likewise.
+       * tests/ln/misc: Likewise.
+       * tests/ln/sf-1: Likewise.
+       * tests/ln/target-1: Likewise.
+       * tests/ls/Makefile.am: Likewise.
+       * tests/ls/Test.pm: Likewise.
+       * tests/ls/dangle: Likewise.
+       * tests/ls/dired: Likewise.
+       * tests/ls/file-type: Likewise.
+       * tests/ls/follow-slink: Likewise.
+       * tests/ls/infloop: Likewise.
+       * tests/ls/inode: Likewise.
+       * tests/ls/m-option: Likewise.
+       * tests/ls/no-arg: Likewise.
+       * tests/ls/recursive: Likewise.
+       * tests/ls/rt-1: Likewise.
+       * tests/ls/stat-dtype: Likewise.
+       * tests/ls/stat-failed: Likewise.
+       * tests/ls/stat-vs-dirent: Likewise.
+       * tests/ls/symlink-slash: Likewise.
+       * tests/ls/time-1: Likewise.
+       * tests/ls-2/tests: Likewise.
+       * tests/md5sum/basic-1: Likewise.
+       * tests/md5sum/newline-1: Likewise.
+       * tests/misc/Makefile.am: Likewise.
+       * tests/misc/base64: Likewise.
+       * tests/misc/basename: Likewise.
+       * tests/misc/cat-proc: Likewise.
+       * tests/misc/close-stdout: Likewise.
+       * tests/misc/csplit: Likewise.
+       * tests/misc/date: Likewise.
+       * tests/misc/date-sec: Likewise.
+       * tests/misc/df: Likewise.
+       * tests/misc/dirname: Likewise.
+       * tests/misc/expand: Likewise.
+       * tests/misc/false-status: Likewise.
+       * tests/misc/fold: Likewise.
+       * tests/misc/head-c: Likewise.
+       * tests/misc/head-elide-tail: Likewise.
+       * tests/misc/head-pos: Likewise.
+       * tests/misc/mknod: Likewise.
+       * tests/misc/nice: Likewise.
+       * tests/misc/nl: Likewise.
+       * tests/misc/nohup: Likewise.
+       * tests/misc/paste-no-nl: Likewise.
+       * tests/misc/pathchk1: Likewise.
+       * tests/misc/printf: Likewise.
+       * tests/misc/printf-hex: Likewise.
+       * tests/misc/pwd-long: Likewise.
+       * tests/misc/sha224sum: Likewise.
+       * tests/misc/sha256sum: Likewise.
+       * tests/misc/sha384sum: Likewise.
+       * tests/misc/sha512sum: Likewise.
+       * tests/misc/shuf: Likewise.
+       * tests/misc/sort-merge: Likewise.
+       * tests/misc/sort-rand: Likewise.
+       * tests/misc/split-a: Likewise.
+       * tests/misc/split-fail: Likewise.
+       * tests/misc/split-l: Likewise.
+       * tests/misc/stat-fmt: Likewise.
+       * tests/misc/stat-printf: Likewise.
+       * tests/misc/tac-continue: Likewise.
+       * tests/misc/test-diag: Likewise.
+       * tests/misc/tty-eof: Likewise.
+       * tests/misc/wc-files0: Likewise.
+       * tests/misc/wc-files0-from: Likewise.
+       * tests/mkdir/concurrent-1: Likewise.
+       * tests/mkdir/p-1: Likewise.
+       * tests/mkdir/p-2: Likewise.
+       * tests/mkdir/p-3: Likewise.
+       * tests/mkdir/p-slashdot: Likewise.
+       * tests/mkdir/p-thru-slink: Likewise.
+       * tests/mkdir/parents: Likewise.
+       * tests/mkdir/perm: Likewise.
+       * tests/mkdir/special-1: Likewise.
+       * tests/mkdir/t-slash: Likewise.
+       * tests/mkdir/writable-under-readonly: Likewise.
+       * tests/mv/Makefile.am: Likewise.
+       * tests/mv/acl: Likewise.
+       * tests/mv/atomic: Likewise.
+       * tests/mv/backup-is-src: Likewise.
+       * tests/mv/childproof: Likewise.
+       * tests/mv/diag: Likewise.
+       * tests/mv/dir-file: Likewise.
+       * tests/mv/dir2dir: Likewise.
+       * tests/mv/dup-source: Likewise.
+       * tests/mv/force: Likewise.
+       * tests/mv/hard-2: Likewise.
+       * tests/mv/hard-3: Likewise.
+       * tests/mv/hard-4: Likewise.
+       * tests/mv/hard-link-1: Likewise.
+       * tests/mv/i-1: Likewise.
+       * tests/mv/i-2: Likewise.
+       * tests/mv/i-3: Likewise.
+       * tests/mv/i-4: Likewise.
+       * tests/mv/i-link-no: Likewise.
+       * tests/mv/into-self: Likewise.
+       * tests/mv/into-self-2: Likewise.
+       * tests/mv/into-self-3: Likewise.
+       * tests/mv/into-self-4: Likewise.
+       * tests/mv/leak-fd: Likewise.
+       * tests/mv/mv-special-1: Likewise.
+       * tests/mv/no-target-dir: Likewise.
+       * tests/mv/part-fail: Likewise.
+       * tests/mv/part-hardlink: Likewise.
+       * tests/mv/part-rename: Likewise.
+       * tests/mv/part-symlink: Likewise.
+       * tests/mv/partition-perm: Likewise.
+       * tests/mv/perm-1: Likewise.
+       * tests/mv/reply-no: Likewise.
+       * tests/mv/setup: Likewise.
+       * tests/mv/to-symlink: Likewise.
+       * tests/mv/trailing-slash: Likewise.
+       * tests/mv/update: Likewise.
+       * tests/mv/vfat: Likewise.
+       * tests/od/od-N: Likewise.
+       * tests/od/x8: Likewise.
+       * tests/pr/Makefile.am: Likewise.
+       * tests/pr/Test.pm: Likewise.
+       * tests/readlink/can-e: Likewise.
+       * tests/readlink/can-f: Likewise.
+       * tests/readlink/can-m: Likewise.
+       * tests/readlink/rl-1: Likewise.
+       * tests/rm/Makefile.am: Likewise.
+       * tests/rm/cycle: Likewise.
+       * tests/rm/dangling-symlink: Likewise.
+       * tests/rm/deep-1: Likewise.
+       * tests/rm/dir-no-w: Likewise.
+       * tests/rm/dir-nonrecur: Likewise.
+       * tests/rm/dot-rel: Likewise.
+       * tests/rm/empty-inacc: Likewise.
+       * tests/rm/empty-name: Likewise.
+       * tests/rm/f-1: Likewise.
+       * tests/rm/fail-2eperm: Likewise.
+       * tests/rm/fail-eperm: Likewise.
+       * tests/rm/hash: Likewise.
+       * tests/rm/i-1: Likewise.
+       * tests/rm/i-no-r: Likewise.
+       * tests/rm/inaccessible: Likewise.
+       * tests/rm/interactive-always: Likewise.
+       * tests/rm/interactive-once: Likewise.
+       * tests/rm/ir-1: Likewise.
+       * tests/rm/isatty: Likewise.
+       * tests/rm/no-give-up: Likewise.
+       * tests/rm/r-1: Likewise.
+       * tests/rm/r-2: Likewise.
+       * tests/rm/r-3: Likewise.
+       * tests/rm/rm1: Likewise.
+       * tests/rm/rm2: Likewise.
+       * tests/rm/rm3: Likewise.
+       * tests/rm/rm4: Likewise.
+       * tests/rm/rm5: Likewise.
+       * tests/rm/sunos-1: Likewise.
+       * tests/rm/unread2: Likewise.
+       * tests/rm/unread3: Likewise.
+       * tests/rm/unreadable: Likewise.
+       * tests/rmdir/fail-perm: Likewise.
+       * tests/rmdir/ignore: Likewise.
+       * tests/rmdir/t-slash: Likewise.
+       * tests/seq/basic: Likewise.
+       * tests/sha1sum/basic-1: Likewise.
+       * tests/sha1sum/sample-vec: Likewise.
+       * tests/shred/exact: Likewise.
+       * tests/shred/remove: Likewise.
+       * tests/sort/Makefile.am: Likewise.
+       * tests/sort/Test.pm: Likewise.
+       * tests/sort-time/Makefile: Likewise.
+       * tests/sort-time/README: Likewise.
+       * tests/sort-time/rand-gen: Likewise.
+       * tests/stty/basic-1: Likewise.
+       * tests/stty/row-col-1: Likewise.
+       * tests/sum/basic-1: Likewise.
+       * tests/sum/sysv: Likewise.
+       * tests/tac/Makefile.am: Likewise.
+       * tests/tac/Test.pm: Likewise.
+       * tests/tail/Makefile.am: Likewise.
+       * tests/tail/Test.pm: Likewise.
+       * tests/tail-2/Makefile.am: Likewise.
+       * tests/tail-2/append-only: Likewise.
+       * tests/tail-2/assert: Likewise.
+       * tests/tail-2/assert-2: Likewise.
+       * tests/tail-2/big-4gb: Likewise.
+       * tests/tail-2/fflush: Likewise.
+       * tests/tail-2/infloop-1: Likewise.
+       * tests/tail-2/proc-ksyms: Likewise.
+       * tests/tail-2/start-middle: Likewise.
+       * tests/tail-2/tail-n0f: Likewise.
+       * tests/tee/basic: Likewise.
+       * tests/tee/dash: Likewise.
+       * tests/test/Makefile.am: Likewise.
+       * tests/test/Test.pm: Likewise.
+       * tests/touch/Makefile.am: Likewise.
+       * tests/touch/dangling-symlink: Likewise.
+       * tests/touch/empty-file: Likewise.
+       * tests/touch/fail-diag: Likewise.
+       * tests/touch/fifo: Likewise.
+       * tests/touch/no-create-missing: Likewise.
+       * tests/touch/no-rights: Likewise.
+       * tests/touch/not-owner: Likewise.
+       * tests/touch/obsolescent: Likewise.
+       * tests/touch/read-only: Likewise.
+       * tests/touch/relative: Likewise.
+       * tests/tr/Makefile.am: Likewise.
+       * tests/tr/Test.pm: Likewise.
+       * tests/tr/failures: Likewise.
+       * tests/tsort/basic-1: Likewise.
+       * tests/unexpand/basic-1: Likewise.
+       * tests/uniq/Makefile.am: Likewise.
+       * tests/uniq/Test.pm: Likewise.
+       * tests/wc/Makefile.am: Likewise.
+       * tests/wc/Test.pm: Likewise.
+
 2006-08-17  Jim Meyering  <jim@meyering.net>
 
        ls -CF would misalign columns in some cases.
 
        * configure.ac: Use 6.0-cvs as the version string.
        * NEWS: Adjust accordingly.
+
+
+       -----
+
+       Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+
+       Copying and distribution of this file, with or without
+       modification, are permitted provided the copyright notice
+       and this notice are preserved.
index ec0b23b5eac7141a7563e5339b8c43d75b7834c9..4ec81dc4233185a3574b480c56891bbcff4d6fe8 100644 (file)
        textutils, and sh-utils.
        * Makefile.am: Likewise.
        * src/Makefile.am: Likewise.
+
+
+       -----
+
+       Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+
+       Copying and distribution of this file, with or without
+       modification, are permitted provided the copyright notice
+       and this notice are preserved.
index 8093ebe416df7ee663767d3e59d3a1cf8a949faa..ace9c54d4027f29d04f11498feca12482dfd6de9 100644 (file)
@@ -1,4 +1,22 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-
+# Make coreutils.                                      -*-Makefile-*-
+
+# Copyright (C) 1990, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+# 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 SUBDIRS = lib src doc man po tests
 EXTRA_DIST = Makefile.cfg Makefile.maint GNUmakefile \
diff --git a/NEWS b/NEWS
index 7e06c4946de2cc88d7513cbd79a9c1e1012b0446..6882f75d6d1ea164dea3e4fa42f254bd956d4e07 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1590,3 +1590,15 @@ packages, see ./old/*/NEWS.
 
   This package began as the union of the following:
   textutils-2.1, fileutils-4.1.11, sh-utils-2.0.15.
+
+========================================================================
+
+Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
+Foundation, Inc.
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
+Texts.  A copy of the license is included in the ``GNU Free
+Documentation License'' file as part of this distribution.
diff --git a/README b/README
index c8d6d3987330d3a5e46dd576e94020f836ceb7e0..196cc711479d5567264ab17ad9464f9dd8d90525 100644 (file)
--- a/README
+++ b/README
@@ -172,3 +172,16 @@ http://www.gnu.org/prep/standards_toc.html.
 
 Mail suggestions and bug reports for these programs to
 the address on the last line of --help output.
+
+
+========================================================================
+
+Copyright (C) 1998, 2002, 2003, 2004, 2005, 2006 Free Software
+Foundation, Inc.
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
+Texts.  A copy of the license is included in the ``GNU Free
+Documentation License'' file as part of this distribution.
index ae547df25f45ae7e5fcee90036f28c30412c757e..5d8a8a36a4aba58ea1c3877f6645b658e731505f 100644 (file)
@@ -1,4 +1,22 @@
 #! /bin/bash
+# Convert this package for use with valgrind.
+
+# Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 # Convert Makefile.am files:
 #  find tests -name Makefile.am | xargs grep -wl PATH|xargs perl -pi -e \
diff --git a/TODO b/TODO
index 02c7a07bc5feaafdf237f1ed31d8921fe42850fb..8cc278be40dcdd628ed3c11e3ef7d729e1178a40 100644 (file)
--- a/TODO
+++ b/TODO
@@ -173,3 +173,22 @@ Remove all uses of the `register' keyword
 pr's use of nstrftime can make it malloc a very large (up to SIZE_MAX) buffer
 
 ls.c: use gettime rather than clock_gettime, gettimeofday, time
+
+-----
+
+Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+Inc.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software Foundation,
+Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
index 34ce114bd560d7332fc774a9fa2dc77c44c76622..8a30566e095151513068ef539169465017a7dc0b 100755 (executable)
@@ -1,12 +1,29 @@
 #!/usr/bin/perl -w
 # Generate an announcement message.
+
+# Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
 use strict;
 
 use Getopt::Long;
 use Digest::MD5;
 use Digest::SHA1;
 
-(my $VERSION = '$Revision: 1.24 $ ') =~ tr/[0-9].//cd;
+(my $VERSION = '$Revision: 1.25 $ ') =~ tr/[0-9].//cd;
 (my $ME = $0) =~ s|.*/||;
 
 my %valid_release_types = map {$_ => 1} qw (alpha beta major);
index 5b67a09899551b868bca0b59004d7eaed137738e..5e3f8a1fa63e70e79b04f0ab7021cccdf8df4be1 100644 (file)
@@ -1,3 +1,9 @@
+2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * ChangeLog: Add copyright notice.
+       * vc-list-files: Likewise.
+       * mkinstalldirs: Remove; no longer needed.
+
 2006-08-09  Paul Eggert  <eggert@cs.ucla.edu>
 
        * texinfo.tex: Update from gnulib.
 
        * config.guess (main): Don't use `head -1'; it's no longer portable.
        Use `sed 1q' instead.
+
+
+       -----
+
+       Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software
+       Foundation, Inc.
+
+       Copying and distribution of this file, with or without
+       modification, are permitted provided the copyright notice
+       and this notice are preserved.
index c7c4dbdaf122b07262221ba4192bda5162409885..2fcc94734315a5c29ef83577ccea7673185dd3dc 100755 (executable)
@@ -1,4 +1,23 @@
 #!/bin/sh
+# List the specified version-controlled files.
+
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
 # List the specified version-controlled files.
 # With no argument, list them all.
 # This script must be run solely from the top of a $srcdir build directory.
index 1e17c8ed105976e414a200d19af3d8469d9b8f97..68a88e70b14aa4cac38b7ad3d6825193eeefcf4c 100644 (file)
@@ -1,3 +1,16 @@
+2006-08-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * ChangeLog: Add copyright notice.
+       * Makefile.am: Likewise.
+       * getdate.texi: Likewise.
+       * perm.texi: Likewise.
+       * getdate.texi: Update to version 1.2 of the GNU FDL.
+       * coreutils.texi: Likewise.
+       (Copying This Manual): Renamed from GNU Free Documentation License.
+       Now an appendix.  Include fdl.texi rather than doclicense.texi.
+       * fdl.tex: Renamed from doclicense.texi.  Latest version from FSF.
+       * perm.texi: Add copyright notice.
+
 2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
 
        * coreutils.texi (df invocation): df exits nonzero if it outputs
        (DISABLED_constants.texi): New rule -- disabled for now.
 
        This directory is now shared by fileutils, textutils, and sh-utils.
+
+
+       -----
+
+       Copyright (C) 2001, 2003, 2004, 2005, 2006 Free Software
+       Foundation, Inc.
+
+       Copying and distribution of this file, with or without
+       modification, are permitted provided the copyright notice
+       and this notice are preserved.
index ac5b400bf8f65a07c7c9bfcc374e6e46834ff72f..28ac5d2fb8eac7091be01a58ab4441a28a294623 100644 (file)
@@ -1,4 +1,23 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-
+# Make coreutils documentation.                                -*-Makefile-*-
+
+# Copyright (C) 1995, 1996, 1997, 1998, 2001, 2002, 2003, 2004, 2005,
+# 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 info_TEXINFOS = coreutils.texi
 
 EXTRA_DIST = perm.texi getdate.texi constants.texi doclicense.texi
index 12215c3c14232d5d8ed27217607f4851e15a63df..28c92b9087f31e1134eff957d629b4c8bbf3ab5d 100644 (file)
@@ -136,7 +136,7 @@ Copyright @copyright{} 1994, 1995, 1996, 2000, 2001, 2002, 2003, 2004,
 
 @quotation
 Permission is granted to copy, distribute and/or modify this document
-under the terms of the GNU Free Documentation License, Version 1.1 or
+under the terms of the GNU Free Documentation License, Version 1.2 or
 any later version published by the Free Software Foundation; with no
 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
 Texts.  A copy of the license is included in the section entitled ``GNU
@@ -197,7 +197,7 @@ Free Documentation License''.
 * File permissions::                   Access modes.
 * Date input formats::                 Specifying date strings.
 * Opening the software toolbox::       The software tools philosophy.
-* GNU Free Documentation License::     The license for this documentation.
+* Copying This Manual::                License for copying this manual.
 * Index::                              General index.
 
 @detailmenu
@@ -462,9 +462,9 @@ Opening the software toolbox
 * The uniq command::             The @command{uniq} command
 * Putting the tools together::   Putting the tools together
 
-GNU Free Documentation License
+Copying This Manual
 
-* How to use this License for your documents::
+* GNU Free Documentation License::  License for copying this manual.
 
 @end detailmenu
 @end menu
@@ -14457,7 +14457,14 @@ philosophy, these books are unparalleled, and I recommend them highly.
 Acknowledgment: I would like to express my gratitude to Brian Kernighan
 of Bell Labs, the original Software Toolsmith, for reviewing this column.
 
-@include doclicense.texi
+@node Copying This Manual
+@appendix Copying This Manual
+
+@menu
+* GNU Free Documentation License::  License for copying this manual.
+@end menu
+
+@include fdl.texi
 
 @node Index
 @unnumbered Index
similarity index 50%
rename from doc/doclicense.texi
rename to doc/fdl.texi
index a6f1ea893996c3dd4943ae8e64a7329bb1fbb651..fe78df8d5399bef64eb6ffb539f3b2b19e9c521e 100644 (file)
@@ -1,33 +1,29 @@
-@c -*-texinfo-*-
+
 @node GNU Free Documentation License
-@appendix GNU Free Documentation License
-@center Version 1.1, March 2000
-@ifnottex
-@menu
-* How to use this License for your documents::
-@end menu
-@end ifnottex
+@appendixsec GNU Free Documentation License
+
+@cindex FDL, GNU Free Documentation License
+@center Version 1.2, November 2002
+
 @display
-Copyright (C) 2000  Free Software Foundation, Inc.
-51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+Copyright @copyright{} 2000,2001,2002 Free Software Foundation, Inc.
+51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA
 
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.
 @end display
-@iftex
-@sp1
-@end iftex
+
 @enumerate 0
 @item
 PREAMBLE
 
 The purpose of this License is to make a manual, textbook, or other
-written document ``free'' in the sense of freedom: to assure everyone
-the effective freedom to copy and redistribute it, with or without
-modifying it, either commercially or noncommercially.  Secondarily,
-this License preserves for the author and publisher a way to get
-credit for their work, while not being considered responsible for
-modifications made by others.
+functional and useful document @dfn{free} in the sense of freedom: to
+assure everyone the effective freedom to copy and redistribute it,
+with or without modifying it, either commercially or noncommercially.
+Secondarily, this License preserves for the author and publisher a way
+to get credit for their work, while not being considered responsible
+for modifications made by others.
 
 This License is a kind of ``copyleft'', which means that derivative
 works of the document must themselves be free in the same sense.  It
@@ -41,62 +37,73 @@ software does.  But this License is not limited to software manuals;
 it can be used for any textual work, regardless of subject matter or
 whether it is published as a printed book.  We recommend this License
 principally for works whose purpose is instruction or reference.
-@iftex
-@sp1
-@end iftex
+
 @item
 APPLICABILITY AND DEFINITIONS
 
-This License applies to any manual or other work that contains a
-notice placed by the copyright holder saying it can be distributed
-under the terms of this License.  The ``Document'', below, refers to any
-such manual or work.  Any member of the public is a licensee, and is
-addressed as ``you''.
+This License applies to any manual or other work, in any medium, that
+contains a notice placed by the copyright holder saying it can be
+distributed under the terms of this License.  Such a notice grants a
+world-wide, royalty-free license, unlimited in duration, to use that
+work under the conditions stated herein.  The ``Document'', below,
+refers to any such manual or work.  Any member of the public is a
+licensee, and is addressed as ``you''.  You accept the license if you
+copy, modify or distribute the work in a way requiring permission
+under copyright law.
 
 A ``Modified Version'' of the Document means any work containing the
 Document or a portion of it, either copied verbatim, or with
 modifications and/or translated into another language.
 
-A ``Secondary Section'' is a named appendix or a front-matter section of
-the Document that deals exclusively with the relationship of the
-publishers or authors of the Document to the Document's overall subject
-(or to related matters) and contains nothing that could fall directly
-within that overall subject.  (For example, if the Document is in part a
-textbook of mathematics, a Secondary Section may not explain any
-mathematics.)  The relationship could be a matter of historical
+A ``Secondary Section'' is a named appendix or a front-matter section
+of the Document that deals exclusively with the relationship of the
+publishers or authors of the Document to the Document's overall
+subject (or to related matters) and contains nothing that could fall
+directly within that overall subject.  (Thus, if the Document is in
+part a textbook of mathematics, a Secondary Section may not explain
+any mathematics.)  The relationship could be a matter of historical
 connection with the subject or with related matters, or of legal,
 commercial, philosophical, ethical or political position regarding
 them.
 
 The ``Invariant Sections'' are certain Secondary Sections whose titles
 are designated, as being those of Invariant Sections, in the notice
-that says that the Document is released under this License.
+that says that the Document is released under this License.  If a
+section does not fit the above definition of Secondary then it is not
+allowed to be designated as Invariant.  The Document may contain zero
+Invariant Sections.  If the Document does not identify any Invariant
+Sections then there are none.
 
 The ``Cover Texts'' are certain short passages of text that are listed,
 as Front-Cover Texts or Back-Cover Texts, in the notice that says that
-the Document is released under this License.
+the Document is released under this License.  A Front-Cover Text may
+be at most 5 words, and a Back-Cover Text may be at most 25 words.
 
 A ``Transparent'' copy of the Document means a machine-readable copy,
 represented in a format whose specification is available to the
-general public, whose contents can be viewed and edited directly and
+general public, that is suitable for revising the document
 straightforwardly with generic text editors or (for images composed of
 pixels) generic paint programs or (for drawings) some widely available
 drawing editor, and that is suitable for input to text formatters or
 for automatic translation to a variety of formats suitable for input
 to text formatters.  A copy made in an otherwise Transparent file
-format whose markup has been designed to thwart or discourage
-subsequent modification by readers is not Transparent.  A copy that is
-not ``Transparent'' is called ``Opaque''.
+format whose markup, or absence of markup, has been arranged to thwart
+or discourage subsequent modification by readers is not Transparent.
+An image format is not Transparent if used for any substantial amount
+of text.  A copy that is not ``Transparent'' is called ``Opaque''.
 
 Examples of suitable formats for Transparent copies include plain
-ASCII without markup, Texinfo input format, LaTeX input format, SGML
-or XML using a publicly available DTD, and standard-conforming simple
-HTML designed for human modification.  Opaque formats include
-PostScript, PDF, proprietary formats that can be read and edited only
-by proprietary word processors, SGML or XML for which the DTD and/or
-processing tools are not generally available, and the
-machine-generated HTML produced by some word processors for output
-purposes only.
+@sc{ascii} without markup, Texinfo input format, La@TeX{} input
+format, @acronym{SGML} or @acronym{XML} using a publicly available
+@acronym{DTD}, and standard-conforming simple @acronym{HTML},
+PostScript or @acronym{PDF} designed for human modification.  Examples
+of transparent image formats include @acronym{PNG}, @acronym{XCF} and
+@acronym{JPG}.  Opaque formats include proprietary formats that can be
+read and edited only by proprietary word processors, @acronym{SGML} or
+@acronym{XML} for which the @acronym{DTD} and/or processing tools are
+not generally available, and the machine-generated @acronym{HTML},
+PostScript or @acronym{PDF} produced by some word processors for
+output purposes only.
 
 The ``Title Page'' means, for a printed book, the title page itself,
 plus such following pages as are needed to hold, legibly, the material
@@ -104,9 +111,22 @@ this License requires to appear in the title page.  For works in
 formats which do not have any title page as such, ``Title Page'' means
 the text near the most prominent appearance of the work's title,
 preceding the beginning of the body of the text.
-@iftex
-@sp1
-@end iftex
+
+A section ``Entitled XYZ'' means a named subunit of the Document whose
+title either is precisely XYZ or contains XYZ in parentheses following
+text that translates XYZ in another language.  (Here XYZ stands for a
+specific section name mentioned below, such as ``Acknowledgements'',
+``Dedications'', ``Endorsements'', or ``History''.)  To ``Preserve the Title''
+of such a section when you modify the Document means that it remains a
+section ``Entitled XYZ'' according to this definition.
+
+The Document may include Warranty Disclaimers next to the notice which
+states that this License applies to the Document.  These Warranty
+Disclaimers are considered to be included by reference in this
+License, but only as regards disclaiming warranties: any other
+implication that these Warranty Disclaimers may have is void and has
+no effect on the meaning of this License.
+
 @item
 VERBATIM COPYING
 
@@ -122,15 +142,14 @@ number of copies you must also follow the conditions in section 3.
 
 You may also lend copies, under the same conditions stated above, and
 you may publicly display copies.
-@iftex
-@sp1
-@end iftex
+
 @item
 COPYING IN QUANTITY
 
-If you publish printed copies of the Document numbering more than 100,
-and the Document's license notice requires Cover Texts, you must enclose
-the copies in covers that carry, clearly and legibly, all these Cover
+If you publish printed copies (or copies in media that commonly have
+printed covers) of the Document, numbering more than 100, and the
+Document's license notice requires Cover Texts, you must enclose the
+copies in covers that carry, clearly and legibly, all these Cover
 Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
 the back cover.  Both covers must also clearly and legibly identify
 you as the publisher of these copies.  The front cover must present
@@ -148,23 +167,20 @@ pages.
 If you publish or distribute Opaque copies of the Document numbering
 more than 100, you must either include a machine-readable Transparent
 copy along with each Opaque copy, or state in or with each Opaque copy
-a publicly-accessible computer-network location containing a complete
-Transparent copy of the Document, free of added material, which the
-general network-using public has access to download anonymously at no
-charge using public-standard network protocols.  If you use the latter
-option, you must take reasonably prudent steps, when you begin
-distribution of Opaque copies in quantity, to ensure that this
-Transparent copy will remain thus accessible at the stated location
-until at least one year after the last time you distribute an Opaque
-copy (directly or through your agents or retailers) of that edition to
-the public.
+a computer-network location from which the general network-using
+public has access to download using public-standard network protocols
+a complete Transparent copy of the Document, free of added material.
+If you use the latter option, you must take reasonably prudent steps,
+when you begin distribution of Opaque copies in quantity, to ensure
+that this Transparent copy will remain thus accessible at the stated
+location until at least one year after the last time you distribute an
+Opaque copy (directly or through your agents or retailers) of that
+edition to the public.
 
 It is requested, but not required, that you contact the authors of the
 Document well before redistributing any large number of copies, to give
 them a chance to provide you with an updated version of the Document.
-@iftex
-@sp1
-@end iftex
+
 @item
 MODIFICATIONS
 
@@ -175,54 +191,85 @@ Version filling the role of the Document, thus licensing distribution
 and modification of the Modified Version to whoever possesses a copy
 of it.  In addition, you must do these things in the Modified Version:
 
-A. Use in the Title Page (and on the covers, if any) a title distinct
-   from that of the Document, and from those of previous versions
-   (which should, if there were any, be listed in the History section
-   of the Document).  You may use the same title as a previous version
-   if the original publisher of that version gives permission.@*
-B. List on the Title Page, as authors, one or more persons or entities
-   responsible for authorship of the modifications in the Modified
-   Version, together with at least five of the principal authors of the
-   Document (all of its principal authors, if it has less than five).@*
-C. State on the Title page the name of the publisher of the
-   Modified Version, as the publisher.@*
-D. Preserve all the copyright notices of the Document.@*
-E. Add an appropriate copyright notice for your modifications
-   adjacent to the other copyright notices.@*
-F. Include, immediately after the copyright notices, a license notice
-   giving the public permission to use the Modified Version under the
-   terms of this License, in the form shown in the Addendum below.@*
-G. Preserve in that license notice the full lists of Invariant Sections
-   and required Cover Texts given in the Document's license notice.@*
-H. Include an unaltered copy of this License.@*
-I. Preserve the section entitled ``History'', and its title, and add to
-   it an item stating at least the title, year, new authors, and
-   publisher of the Modified Version as given on the Title Page.  If
-   there is no section entitled ``History'' in the Document, create one
-   stating the title, year, authors, and publisher of the Document as
-   given on its Title Page, then add an item describing the Modified
-   Version as stated in the previous sentence.@*
-J. Preserve the network location, if any, given in the Document for
-   public access to a Transparent copy of the Document, and likewise
-   the network locations given in the Document for previous versions
-   it was based on.  These may be placed in the ``History'' section.
-   You may omit a network location for a work that was published at
-   least four years before the Document itself, or if the original
-   publisher of the version it refers to gives permission.@*
-K. In any section entitled ``Acknowledgements'' or ``Dedications'',
-   preserve the section's title, and preserve in the section all the
-   substance and tone of each of the contributor acknowledgements
-   and/or dedications given therein.@*
-L. Preserve all the Invariant Sections of the Document,
-   unaltered in their text and in their titles.  Section numbers
-   or the equivalent are not considered part of the section titles.@*
-M. Delete any section entitled ``Endorsements''.  Such a section
-   may not be included in the Modified Version.@*
-N. Do not retitle any existing section as ``Endorsements''
-   or to conflict in title with any Invariant Section.@*
-@iftex
-@sp1
-@end iftex
+@enumerate A
+@item
+Use in the Title Page (and on the covers, if any) a title distinct
+from that of the Document, and from those of previous versions
+(which should, if there were any, be listed in the History section
+of the Document).  You may use the same title as a previous version
+if the original publisher of that version gives permission.
+
+@item
+List on the Title Page, as authors, one or more persons or entities
+responsible for authorship of the modifications in the Modified
+Version, together with at least five of the principal authors of the
+Document (all of its principal authors, if it has fewer than five),
+unless they release you from this requirement.
+
+@item
+State on the Title page the name of the publisher of the
+Modified Version, as the publisher.
+
+@item
+Preserve all the copyright notices of the Document.
+
+@item
+Add an appropriate copyright notice for your modifications
+adjacent to the other copyright notices.
+
+@item
+Include, immediately after the copyright notices, a license notice
+giving the public permission to use the Modified Version under the
+terms of this License, in the form shown in the Addendum below.
+
+@item
+Preserve in that license notice the full lists of Invariant Sections
+and required Cover Texts given in the Document's license notice.
+
+@item
+Include an unaltered copy of this License.
+
+@item
+Preserve the section Entitled ``History'', Preserve its Title, and add
+to it an item stating at least the title, year, new authors, and
+publisher of the Modified Version as given on the Title Page.  If
+there is no section Entitled ``History'' in the Document, create one
+stating the title, year, authors, and publisher of the Document as
+given on its Title Page, then add an item describing the Modified
+Version as stated in the previous sentence.
+
+@item
+Preserve the network location, if any, given in the Document for
+public access to a Transparent copy of the Document, and likewise
+the network locations given in the Document for previous versions
+it was based on.  These may be placed in the ``History'' section.
+You may omit a network location for a work that was published at
+least four years before the Document itself, or if the original
+publisher of the version it refers to gives permission.
+
+@item
+For any section Entitled ``Acknowledgements'' or ``Dedications'', Preserve
+the Title of the section, and preserve in the section all the
+substance and tone of each of the contributor acknowledgements and/or
+dedications given therein.
+
+@item
+Preserve all the Invariant Sections of the Document,
+unaltered in their text and in their titles.  Section numbers
+or the equivalent are not considered part of the section titles.
+
+@item
+Delete any section Entitled ``Endorsements''.  Such a section
+may not be included in the Modified Version.
+
+@item
+Do not retitle any existing section to be Entitled ``Endorsements'' or
+to conflict in title with any Invariant Section.
+
+@item
+Preserve any Warranty Disclaimers.
+@end enumerate
+
 If the Modified Version includes new front-matter sections or
 appendices that qualify as Secondary Sections and contain no material
 copied from the Document, you may at your option designate some or all
@@ -230,9 +277,9 @@ of these sections as invariant.  To do this, add their titles to the
 list of Invariant Sections in the Modified Version's license notice.
 These titles must be distinct from any other section titles.
 
-You may add a section entitled ``Endorsements'', provided it contains
+You may add a section Entitled ``Endorsements'', provided it contains
 nothing but endorsements of your Modified Version by various
-parties--for example, statements of peer review or that the text has
+parties---for example, statements of peer review or that the text has
 been approved by an organization as the authoritative definition of a
 standard.
 
@@ -249,9 +296,7 @@ permission from the previous publisher that added the old one.
 The author(s) and publisher(s) of the Document do not by this License
 give permission to use their names for publicity for or to assert or
 imply endorsement of any Modified Version.
-@iftex
-@sp1
-@end iftex
+
 @item
 COMBINING DOCUMENTS
 
@@ -260,7 +305,7 @@ License, under the terms defined in section 4 above for modified
 versions, provided that you include in the combination all of the
 Invariant Sections of all of the original documents, unmodified, and
 list them all as Invariant Sections of your combined work in its
-license notice.
+license notice, and that you preserve all their Warranty Disclaimers.
 
 The combined work need only contain one copy of this License, and
 multiple identical Invariant Sections may be replaced with a single
@@ -271,14 +316,12 @@ author or publisher of that section if known, or else a unique number.
 Make the same adjustment to the section titles in the list of
 Invariant Sections in the license notice of the combined work.
 
-In the combination, you must combine any sections entitled ``History''
-in the various original documents, forming one section entitled
-``History''; likewise combine any sections entitled ``Acknowledgements'',
-and any sections entitled ``Dedications''.  You must delete all sections
-entitled ``Endorsements.''
-@iftex
-@sp1
-@end iftex
+In the combination, you must combine any sections Entitled ``History''
+in the various original documents, forming one section Entitled
+``History''; likewise combine any sections Entitled ``Acknowledgements'',
+and any sections Entitled ``Dedications''.  You must delete all
+sections Entitled ``Endorsements.''
+
 @item
 COLLECTIONS OF DOCUMENTS
 
@@ -292,29 +335,27 @@ You may extract a single document from such a collection, and distribute
 it individually under this License, provided you insert a copy of this
 License into the extracted document, and follow this License in all
 other respects regarding verbatim copying of that document.
-@iftex
-@sp1
-@end iftex
+
 @item
 AGGREGATION WITH INDEPENDENT WORKS
 
 A compilation of the Document or its derivatives with other separate
 and independent documents or works, in or on a volume of a storage or
-distribution medium, does not as a whole count as a Modified Version
-of the Document, provided no compilation copyright is claimed for the
-compilation.  Such a compilation is called an ``aggregate'', and this
-License does not apply to the other self-contained works thus compiled
-with the Document, on account of their being thus compiled, if they
-are not themselves derivative works of the Document.
+distribution medium, is called an ``aggregate'' if the copyright
+resulting from the compilation is not used to limit the legal rights
+of the compilation's users beyond what the individual works permit.
+When the Document is included in an aggregate, this License does not
+apply to the other works in the aggregate which are not themselves
+derivative works of the Document.
 
 If the Cover Text requirement of section 3 is applicable to these
-copies of the Document, then if the Document is less than one quarter
-of the entire aggregate, the Document's Cover Texts may be placed on
-covers that surround only the Document within the aggregate.
-Otherwise they must appear on covers around the whole aggregate.
-@iftex
-@sp1
-@end iftex
+copies of the Document, then if the Document is less than one half of
+the entire aggregate, the Document's Cover Texts may be placed on
+covers that bracket the Document within the aggregate, or the
+electronic equivalent of covers if the Document is in electronic form.
+Otherwise they must appear on printed covers that bracket the whole
+aggregate.
+
 @item
 TRANSLATION
 
@@ -324,13 +365,18 @@ Replacing Invariant Sections with translations requires special
 permission from their copyright holders, but you may include
 translations of some or all Invariant Sections in addition to the
 original versions of these Invariant Sections.  You may include a
-translation of this License provided that you also include the
-original English version of this License.  In case of a disagreement
-between the translation and the original English version of this
-License, the original English version will prevail.
-@iftex
-@sp1
-@end iftex
+translation of this License, and all the license notices in the
+Document, and any Warranty Disclaimers, provided that you also include
+the original English version of this License and the original versions
+of those notices and disclaimers.  In case of a disagreement between
+the translation and the original version of this License or a notice
+or disclaimer, the original version will prevail.
+
+If a section in the Document is Entitled ``Acknowledgements'',
+``Dedications'', or ``History'', the requirement (section 4) to Preserve
+its Title (section 1) will typically require changing the actual
+title.
+
 @item
 TERMINATION
 
@@ -341,9 +387,7 @@ automatically terminate your rights under this License.  However,
 parties who have received copies, or rights, from you under this
 License will not have their licenses terminated so long as such
 parties remain in full compliance.
-@iftex
-@sp1
-@end iftex
+
 @item
 FUTURE REVISIONS OF THIS LICENSE
 
@@ -351,7 +395,7 @@ The Free Software Foundation may publish new, revised versions
 of the GNU Free Documentation License from time to time.  Such new
 versions will be similar in spirit to the present version, but may
 differ in detail to address new problems or concerns.  See
-http://www.gnu.org/copyleft/.
+@uref{http://www.gnu.org/copyleft/}.
 
 Each version of the License is given a distinguishing version number.
 If the Document specifies that a particular numbered version of this
@@ -361,11 +405,10 @@ of any later version that has been published (not as a draft) by the
 Free Software Foundation.  If the Document does not specify a version
 number of this License, you may choose any version ever published (not
 as a draft) by the Free Software Foundation.
-
 @end enumerate
 
-@node How to use this License for your documents
-@unnumberedsec ADDENDUM: How to use this License for your documents
+@page
+@appendixsubsec ADDENDUM: How to use this License for your documents
 
 To use this License in a document you have written, include a copy of
 the License in the document and put the following copyright and
@@ -373,23 +416,37 @@ license notices just after the title page:
 
 @smallexample
 @group
-
   Copyright (C)  @var{year}  @var{your name}.
   Permission is granted to copy, distribute and/or modify this document
-  under the terms of the GNU Free Documentation License, Version 1.1
+  under the terms of the GNU Free Documentation License, Version 1.2
   or any later version published by the Free Software Foundation;
-  with the Invariant Sections being @var{list their titles}, with the
-  Front-Cover Texts being @var{list}, and with the Back-Cover Texts being @var{list}.
-  A copy of the license is included in the section entitled ``GNU
+  with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
+  Texts.  A copy of the license is included in the section entitled ``GNU
   Free Documentation License''.
 @end group
 @end smallexample
-If you have no Invariant Sections, write ``with no Invariant Sections''
-instead of saying which ones are invariant.  If you have no
-Front-Cover Texts, write ``no Front-Cover Texts'' instead of
-``Front-Cover Texts being @var{list}''; likewise for Back-Cover Texts.
+
+If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
+replace the ``with...Texts.'' line with this:
+
+@smallexample
+@group
+    with the Invariant Sections being @var{list their titles}, with
+    the Front-Cover Texts being @var{list}, and with the Back-Cover Texts
+    being @var{list}.
+@end group
+@end smallexample
+
+If you have Invariant Sections without Cover Texts, or some other
+combination of the three, merge those two alternatives to suit the
+situation.
 
 If your document contains nontrivial examples of program code, we
 recommend releasing these examples in parallel under your choice of
 free software license, such as the GNU General Public License,
 to permit their use in free software.
+
+@c Local Variables:
+@c ispell-local-pdict: "ispell-dict"
+@c End:
+
index 919c2990d4d611048d102abf554bafb37a10e3a8..eae4526b48c69a36b0bd5c0343b7956175cb42af 100644 (file)
@@ -4,7 +4,7 @@
 @c 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
 @c Permission is granted to copy, distribute and/or modify this document
-@c under the terms of the GNU Free Documentation License, Version 1.1 or
+@c under the terms of the GNU Free Documentation License, Version 1.2 or
 @c any later version published by the Free Software Foundation; with no
 @c Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
 @c Texts.  A copy of the license is included in the ``GNU Free
index f5190730e5d1965551aef0fbe9e2efc564ab9154..c74bf119b2446628ea48b5afc1cf05323c7ecec7 100644 (file)
@@ -1,3 +1,15 @@
+@c File mode bits
+
+@c Copyright (C) 1994, 1996, 1999, 2000, 2001, 2003, 2004, 2005, 2006
+@c Free Software Foundation, Inc.
+
+@c Permission is granted to copy, distribute and/or modify this document
+@c under the terms of the GNU Free Documentation License, Version 1.2 or
+@c any later version published by the Free Software Foundation; with no
+@c Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
+@c Texts.  A copy of the license is included in the ``GNU Free
+@c Documentation License'' file as part of this distribution.
+
 Each file has a set of @dfn{file mode bits} that control the kinds of
 access that users have to that file.  They can be represented either in
 symbolic form or as an octal number.
index ee1c4446614f27521d0a4bdade7cd7e8353a4fc2..7a320230386efa2bb0897d44eae1308ff8f02639 100644 (file)
@@ -1,3 +1,22 @@
+# GDB history for debugging coreutils.
+#
+# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
 r 206.65.212.10
 b main
 r
@@ -9,7 +28,7 @@ p addr
 p he->h_name
 n
 q
-b canon_host 
+b canon_host
 r 206.65.212.10
 n
 p he
@@ -103,7 +122,7 @@ p *old_vec@10
 p *old_vec@13
 b hash_insert_item
 r
-b hash_insert_item_at 
+b hash_insert_item_at
 r
 n
 p fail
@@ -111,7 +130,7 @@ p *(ht->vec)@13
 p *(ht->ht_vec)@13
 p ((struct item*)(ht->ht_vec)[10])->key
 b hash_delete_item
-b hash_delete_item_at 
+b hash_delete_item_at
 c
 n
 p slot
@@ -147,7 +166,7 @@ p *old_vec@13
 p &dummy
 q
 r 444444444444 44444444444
-b human_readable 
+b human_readable
 r
 n
 q
@@ -166,7 +185,7 @@ p b
 r 343434343 343434343
 c
 q
-b posixtime 
+b posixtime
 r
 n
 s
@@ -187,7 +206,7 @@ q
 complete b user
 complete b user
 complete b pars
-b parse_user_spec 
+b parse_user_spec
 r a.b
 n
 n
@@ -291,7 +310,7 @@ p allocated
 n 20
 n
 complete p alloca
-p allocated 
+p allocated
 p length
 n
 p maxlen
@@ -303,7 +322,7 @@ n
 p result
 q
 complete b vasnp
-b vasnprintf 
+b vasnprintf
 r
 n 30
 n
index 00c19a3c7f6f201f6d9f2b9986347124db48215a..56e7a4adf7879170376e7c6b3b763a547a3b2d74 100644 (file)
@@ -1,3 +1,18 @@
+2006-08-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * ChangeLog: Add copyright notice.
+       * .gdb-history: Likewise.
+       * TODO: Likewise.
+       * __fpending.h: Likewise.
+       * fdopendir-glibc.c: Likewise.
+       * fprintftime.h: Likewise.
+       * root-dev-ino.h: Likewise.
+       * search_.h: Likewise.
+       * t-chdir-long: Likewise.
+       * t-fpending.c: Likewise.
+       * savedir.c: Use (C) in copyright notice.
+       * savedir.h: Likewise.
+
 2006-08-16  Paul Eggert  <eggert@cs.ucla.edu>
 
        * memcoll.c (memcoll): Set errno = 0 in the shortcut case, too.
        * quotearg.c (quotearg_buffer_restyled): Do not quote
        alert, backslash, formfeed, and vertical tab unnecessarily in
        shell quoting style.
+
+
+       -----
+
+       Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free
+       Software Foundation, Inc.
+
+       Copying and distribution of this file, with or without
+       modification, are permitted provided the copyright notice
+       and this notice are preserved.
index 4b3fe850e5bdf2b90255af1cd860e279eebc0a9e..4da5d0caf00fad3b0eff2cfa932cac43d3cbb1b7 100644 (file)
--- a/lib/TODO
+++ b/lib/TODO
@@ -30,3 +30,11 @@ Mention fragmentation.
 assert (bucket_limit - bucket == n_buckets) ?
 
 remove.c: s/done/successful or ok
+
+
+-----
+Copyright (C) 1998 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without
+modification, are permitted provided the copyright notice
+and this notice are preserved.
index 36a842ed529ec1f31849ecec862e750a532ecea4..3c9be1e0824bfea0bce09b8a958fd72a408a63a3 100644 (file)
@@ -1,3 +1,23 @@
+/* Declare __fpending.
+
+   Copyright (C) 2000, 2003, 2005 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+   Written by Jim Meyering.  */
+
 #include <stddef.h>
 #include <stdio.h>
 
index 6b66a6f2a966da06be1bdc8c60d7da9c1490c0da..6598dc227a58c5b86a03ce8b4e25df5ef14a8dd6 100644 (file)
@@ -1,3 +1,21 @@
+/* fdopendir implementation derived from glibc.
+
+   Copyright (C) 2006 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License along
+   with this program; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
+
 #ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
index 38fef43f1511356d19688bc56f93b265bc6709a1..e0be5cded1fa5a2524595fbadc830609b473bf1e 100644 (file)
@@ -1,3 +1,21 @@
+/* Generate time strings directly to the output.  */
+
+/* Copyright (C) 2005 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License along
+   with this program; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
+
 #include <stdio.h>
 #include <time.h>
 
index e9eba06b9a9da0b5341d1eaf834097438cb824a8..ad38f7635459fd6b49cdc46f8cfe22eb3019dcd1 100644 (file)
@@ -1,3 +1,21 @@
+/* Root device and inode number checking.
+
+   Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
+
 #ifndef ROOT_DEV_INO_H
 # define ROOT_DEV_INO_H 1
 
index 4b0702480db6b73cc272b229f74c20e2f429069e..3c442aa6e71f67dfe2067fde1d6b1ce5d21f9266 100644 (file)
@@ -1,7 +1,7 @@
 /* savedir.c -- save the list of files in a directory in a string
 
-   Copyright 1990, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006 Free
-   Software Foundation, Inc.
+   Copyright (C) 1990, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
+   2006 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 7809d2392ef061cb0e892b6300ede464109c76c0..5b7bef97134e384bb00f40ae2848e5c875ce0924 100644 (file)
@@ -1,6 +1,6 @@
 /* Save the list of files in a directory in a string.
 
-   Copyright 1997, 1999, 2001, 2003, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2001, 2003, 2005 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
index 78e3980ec87aa87205ca9cc207eb1e02df979ea8..802b25d79a888bb902183aaf0d75e8633b54001f 100644 (file)
@@ -1,3 +1,22 @@
+/* Tree search.
+
+   Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2003 Free
+   Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
+
 /* For use with hsearch(3).  */
 #ifndef __COMPAR_FN_T
 # define __COMPAR_FN_T
index 1f9a83cfb380eea01beb59222b8e5bdf01440ed6..37dd7181acef12f9d1f47acb3406dd6aa4b69831 100755 (executable)
@@ -1,5 +1,24 @@
 #!/bin/sh
 # Exercise chdir-long's sample main program.
+
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+
 # FIXME: add traps and choose top level names so that
 # temporary directories are easier to remove.
 # FIXME: don't clobber a.out
index 10335cdd037d284c76184168033d9322777fa054..74ecae1bd15448471caa01d742ae691b8d0a5980 100644 (file)
@@ -1,4 +1,22 @@
-/* Ensure that __fpending works.  */
+/* Ensure that __fpending works.
+
+   Copyright (C) 2004 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+   Written by Jim Meyering.  */
 
 #include <config.h>
 #include <stdio.h>
index d225958c78102c7985191920772cf5ef92e82bee..979eed2955623c11eff18f390948c8bfd8353b46 100644 (file)
@@ -1,3 +1,8 @@
+2006-08-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * ChangeLog: Add copyright notice.
+       * check-decl.m4: Likewise.
+
 2006-08-15  Jim Meyering  <jim@meyering.net>
 
        * openat.m4 (gl_FUNC_OPENAT): Add at-func.c via AC_LIBSOURCES.
        * inttypes_h.m4: New file.
        * uintmax_t.m4: New file.
        * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
+
+
+       -----
+
+       Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+       2005, 2006 Free Software Foundation, Inc.
+
+       Copying and distribution of this file, with or without
+       modification, are permitted provided the copyright notice
+       and this notice are preserved.
index 519b23ac3ec7983c26533bbbc7f91db020616564..0c714edc3d7672d9a99556e9546a39e04c29928a 100644 (file)
@@ -1,4 +1,13 @@
 #serial 22
+# Check declarations for this package.
+
+dnl Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006
+dnl Free Software Foundation, Inc.
+
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
 
 dnl This is just a wrapper function to encapsulate this kludge.
 dnl Putting it in a separate file like this helps share it between
index 7b4f9d24b196676b488f5858e0b22122d69c8069..c0675944bc7762c6ca2aaf2107c25536660eb917 100644 (file)
@@ -1,4 +1,23 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-
+# Make coreutils man pages.                            -*-Makefile-*-
+
+# Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 dist_man_MANS = \
   base64.1 basename.1 cat.1 chgrp.1 chmod.1 chown.1 chroot.1 cksum.1 comm.1 \
   cp.1 csplit.1 cut.1 date.1 dd.1 df.1 dir.1 dircolors.1 dirname.1 du.1 \
index c504872a3c6a325689f2df6dda2050022260867e..9a73cd535dbc1d18710bf06278949df59bd3ae01 100644 (file)
@@ -1,3 +1,8 @@
+'\" Copyright (C) 1998, 1999, 2001, 2006 Free Software Foundation, Inc.
+'\"
+'\" This is free software.  You may redistribute copies of it under the terms
+'\" of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+'\" There is NO WARRANTY, to the extent permitted by law.
 [NAME]
 chmod \- change file mode bits
 [DESCRIPTION]
index 83a949f280eb237db7f210980424d5b3f2d54cfa..57ad05a0149ccef7b2f488db3ef70a078f55e9dd 100644 (file)
@@ -1,3 +1,8 @@
+'\" Copyright (C) 1998, 1999, 2001, 2006 Free Software Foundation, Inc.
+'\"
+'\" This is free software.  You may redistribute copies of it under the terms
+'\" of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+'\" There is NO WARRANTY, to the extent permitted by law.
 [NAME]
 chown \- change file owner and group
 [DESCRIPTION]
index b7c31a4f1d78c13a4f9c4267eeeab36a166df2a6..6a8b3680e21bb774a9b73b8b8de2bc48aabc4f2a 100644 (file)
--- a/man/df.x
+++ b/man/df.x
@@ -1,3 +1,8 @@
+'\" Copyright (C) 1998, 1999, 2004 Free Software Foundation, Inc.
+'\"
+'\" This is free software.  You may redistribute copies of it under the terms
+'\" of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+'\" There is NO WARRANTY, to the extent permitted by law.
 [NAME]
 df \- report file system disk space usage
 [DESCRIPTION]
index 8eeedaef702aaefbdbe085d4a8eb32e719860f9c..b170369742db256d27ed7195621b888bbbc27ece 100644 (file)
--- a/man/du.x
+++ b/man/du.x
@@ -1,3 +1,8 @@
+'\" Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
+'\"
+'\" This is free software.  You may redistribute copies of it under the terms
+'\" of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+'\" There is NO WARRANTY, to the extent permitted by law.
 [NAME]
 du \- estimate file space usage
 [DESCRIPTION]
index 79a2bdc217ff80a537c981949f5327031795c353..422ad79d0f86457fb683a22c938fc98afc064242 100644 (file)
--- a/man/rm.x
+++ b/man/rm.x
@@ -1,3 +1,9 @@
+'\" Copyright (C) 1998, 1999, 2001, 2003, 2004, 2006 Free Software
+'\" Foundation, Inc.
+'\"
+'\" This is free software.  You may redistribute copies of it under the terms
+'\" of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+'\" There is NO WARRANTY, to the extent permitted by law.
 [NAME]
 rm \- remove files or directories
 [DESCRIPTION]
index 5f12d1ca3ef9d8a18f98ef482650bdb23c1ba764..971ce55cb0bc4819e0b213753e484c2eaca56c3a 100644 (file)
@@ -1,3 +1,9 @@
+2006-08-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * ChangeLog: Add copyright notice.
+       * ChangeLog-1997: Likewise.
+       * NEWS: Likewise.
+
 2002-07-28  Jim Meyering  <meyering@lucent.com>
 
        * Version 4.1.12.
 
        * src/rm.c (remove_cwd_entries): Initialize the entry-name obstack
        only once and never free it.
+
+
+       -----
+
+       Copyright (C) 1998, 1999, 2000, 2001, 2002, 2006 Free Software
+       Foundation, Inc.
+
+       Copying and distribution of this file, with or without
+       modification, are permitted provided the copyright notice
+       and this notice are preserved.
index 65d0e90b558bd62f7092e7c9a0d7d284870506e6..72655cc4e7a957668c44db5c7c145d6379118949 100644 (file)
@@ -6154,3 +6154,13 @@ Thu Feb  8 21:25:40 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
 Mon Feb  5 17:29:20 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
 
        * Version 1.0 released.
+
+
+       -----
+
+       Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
+       Foundation, Inc.
+
+       Copying and distribution of this file, with or without
+       modification, are permitted provided the copyright notice
+       and this notice are preserved.
index b89ca311dbff2af6f57b3fff4a7fe9e9fa05ff88..5adff8fa96fdfb92459d3f8cb9cc7bac72829ac7 100644 (file)
@@ -746,3 +746,15 @@ Major changes in release 3.3:
 * ls sped up by not reading symlink contents unnecessarily
 * du doesn't die on POSIX systems when the root filesystem is NFS mounted
 * cp and mv report chown Permission denied errors when run by root
+
+========================================================================
+
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003 Free Software Foundation, Inc.
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
+Texts.  A copy of the license is included in the ``GNU Free
+Documentation License'' file as part of this distribution.
index 9005a62cbfb6e0b7451c474f80818c72a63421ae..f95975de091527602f52d90d7211f09b60f24a6e 100644 (file)
@@ -1,3 +1,9 @@
+2006-08-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * ChangeLog: Add copyright notice.
+       * ChangeLog.0: Likewise.
+       * NEWS: Likewise.
+
 2002-08-08  Jim Meyering  <meyering@lucent.com>
 
        * Version 2.0.15.
@@ -4848,3 +4854,13 @@ Thu Nov 17 23:47:26 1994  Jim Meyering  (meyering@comco.com)
        (list_entries_users): Sort the user names.  Reported by
        Michael I Bushnell.
        Topologically sort the functions and remove fwd declarations.
+
+
+       -----
+
+       Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2006
+       Free Software Foundation, Inc.
+
+       Copying and distribution of this file, with or without
+       modification, are permitted provided the copyright notice
+       and this notice are preserved.
index 0408ec6222b205388a12a4603e2c6f9f0bc76704..77705c89e3e9c2bb43379dfd8e19aa0aba297073 100644 (file)
@@ -1702,6 +1702,16 @@ Sat Oct 28 13:20:43 1989  David J. MacKenzie  (djm at spiff)
        (program_name, long_options): New variables.
        (main): Support long options.
        (usage): Add long options summary to message.
+
+
+       -----
+
+       Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994 Free Software
+       Foundation, Inc.
+
+       Copying and distribution of this file, with or without
+       modification, are permitted provided the copyright notice
+       and this notice are preserved.
 \f
 Local Variables:
 mode: indented-text
index 7da709d9ab7bc114d7faa5b9815586160a479a97..d9dc3b521869e633d7365c22badab75f1b147868 100644 (file)
@@ -270,3 +270,15 @@ Major changes in release 1.7:
 * printf catches numeric conversion errors with an ANSI C library
 * stty nl and -nl were backwards
 * date can format an arbitrary date without setting it
+
+========================================================================
+
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003 Free Software Foundation, Inc.
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
+Texts.  A copy of the license is included in the ``GNU Free
+Documentation License'' file as part of this distribution.
index 12ceb73668b776f110a71b92fd15e16f16789ffd..cc3331e978e8bd00c5c403fea2130db8d13c8206 100644 (file)
@@ -1,3 +1,8 @@
+2006-08-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * ChangeLog: Add copyright notice.
+       * NEWS: Likewise.
+
 2002-07-29  Jim Meyering  <meyering@lucent.com>
 
        * Version 2.1.
@@ -8736,3 +8741,13 @@ Sat Dec 16 15:15:50 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
        (error): Print to stderr, not stdout.
        (xmalloc, xrealloc): Return char * instead of int.
        Returning 0 is ok if 0 bytes requested (ANSI C).
+
+
+       -----
+
+       Copyright (C) 1998, 1999, 2000, 2001, 2002, 2006 Free Software
+       Foundation, Inc.
+
+       Copying and distribution of this file, with or without
+       modification, are permitted provided the copyright notice
+       and this notice are preserved.
index 92b209175303140c0bc95f7e00f2852baaf39e31..da8d1a5bbefbf23dda07ffa674e6c9d7af022cf5 100644 (file)
@@ -458,3 +458,15 @@ Major changes in release 1.4:
 * tr x '' fails gracefully
 * default sum output format is BSD compatible
 * paste -d '' works
+
+========================================================================
+
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2006 Free Software Foundation, Inc.
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
+Texts.  A copy of the license is included in the ``GNU Free
+Documentation License'' file as part of this distribution.
index 2b9526210d860829873fb5136d49383304d56297..92a9e975cda82181bdeb36fa08b52bda5a784f7a 100644 (file)
@@ -1,3 +1,8 @@
+2006-08-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * po/ChangeLog: Add copyright notice.
+       * po/Makevars: Likewise.
+
 2006-08-10  Paul Eggert  <eggert@cs.ucla.edu>
 
        * Makevars (XGETTEXT_OPTIONS): Add pass-c-format flags for
 2002-09-02  Jim Meyering  <jim@meyering.net>
 
        * LINGUAS: Add lg (Luganda).
+
+
+       -----
+
+       Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software
+       Foundation, Inc.
+
+       Copying and distribution of this file, with or without
+       modification, are permitted provided the copyright notice
+       and this notice are preserved.
index 91af305dd88887df32bbd6db2e746a6837957a19..8429e9c7c1564a9ea5927981b46a1fa229ddd3bb 100644 (file)
@@ -1,5 +1,22 @@
 # Makefile variables for PO directory in any package using GNU gettext.
 
+## Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
+
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+## 02110-1301, USA.
+
 # Usually the message domain is the same as the package name.
 DOMAIN = $(PACKAGE)
 
index 9a2026bdef4055656e8ba29045229b126219a1f9..737ab0358c835bfeef94c765f396d7e59bd338ee 100644 (file)
@@ -1,6 +1,11 @@
 # Configuration file for dircolors, a utility to help you set the
 # LS_COLORS environment variable used by GNU ls with the --color option.
 
+# Copyright (C) 1996, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+# Free Software Foundation, Inc.
+# Copying and distribution of this file, with or without modification,
+# are permitted provided the copyright notice and this notice are preserved.
+
 # The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
 # slackware version of dircolors) are recognized but ignored.
 
index 15ea37305c1dd051757aac4b6e893a1257a150eb..21b586a0cd6e10d36f27af66a400bf675080cc3a 100755 (executable)
@@ -1,4 +1,21 @@
 #!/bin/bash
+
+# Copyright (C) 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
 cat - <<\EOF > /dev/null
 Invoke e.g., like this
 DU1=du-4.5.2 DU2=du ./du-tests
index 1259b0e53d786b9b71256ece77b15bcb55f23977..2e9e871d3a6698d6469b453d5fc1a56f068f664c 100644 (file)
@@ -1,10 +1,27 @@
 #!/usr/bin/perl -w
 # Derive #define directives from specially formatted `case ...:' statements.
+
+# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
 use strict;
 
 use Getopt::Long;
 
-(my $VERSION = '$Revision: 1.4 $ ') =~ tr/[0-9].//cd;
+(my $VERSION = '$Revision: 1.5 $ ') =~ tr/[0-9].//cd;
 (my $ME = $0) =~ s|.*/||;
 
 END
index 9263df7630537182334e52185461a5df64619be4..d2c6f677b7e761c680ae8fe08bfc0d3450a9b272 100644 (file)
@@ -1,3 +1,21 @@
+/* tac from a pipe.
+
+   Copyright (C) 1997, 1998, 2002, 2004 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
+
 /* FIXME */
 #include <assert.h>
 
index d47901c9f9a33c7d9c61cc56963e34105da9ff41..0715e07cd62e4379256dd306f24736141ada2b9d 100644 (file)
@@ -1,6 +1,6 @@
 /* uname -- print system information
 
-   Copyright 1989, 1992, 1993, 1996, 1997, 1999, 2000, 2001, 2002,
+   Copyright (C) 1989, 1992, 1993, 1996, 1997, 1999, 2000, 2001, 2002,
    2003, 2004, 2005 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
index ec4dd619844ab81ada7b199a95bc192cb07e9d81..a22583008ea41f575714716c0a82c376391b465a 100755 (executable)
@@ -1,4 +1,21 @@
 #!/usr/bin/perl -w
+# Generate the spokes of a wheel, for wheel factorization.
+
+# Copyright (C) 2001, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
 eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
   if 0;
index 1490fb1d3bb2fa02c599323cffd41b2eea0a3a9f..dd90a300a7ef68f5b46de85e86c3e86f198cfaee 100644 (file)
@@ -1,6 +1,24 @@
 package Coreutils;
 # This is a testing framework.
 
+# Copyright (C) 1998, 2000, 2001, 2002, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 require 5.003;
 use strict;
 use vars qw($VERSION @ISA @EXPORT);
@@ -9,7 +27,7 @@ use FileHandle;
 use File::Compare qw(compare);
 
 @ISA = qw(Exporter);
-($VERSION = '$Revision: 1.4 $ ') =~ tr/[0-9].//cd;
+($VERSION = '$Revision: 1.5 $ ') =~ tr/[0-9].//cd;
 @EXPORT = qw (run_tests);
 
 my $debug = $ENV{DEBUG};
index 23f2cfaa47b11ec22914dc6eb23fc97b8b105243..9002cab05c5c4acb39041aff2579195a966f5901 100644 (file)
@@ -1,4 +1,22 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests.                                        -*-Makefile-*-
+
+# Copyright (C) 1997, 1998, 2000, 2003, 2004 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 ##test-files-begin
 ##test-files-end
index 6d1480dc947b02baa66ac2d7aafd07694f24aab5..5c958ea318dece27880c62c55186ffe4e9a08411 100644 (file)
--- a/tests/acl
+++ b/tests/acl
@@ -1,3 +1,22 @@
+# Test whether acl tests can be done.
+
+# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 getfacl --version < /dev/null > /dev/null 2>&1 \
   && setfacl --version < /dev/null > /dev/null 2>&1 || {
   cat <<EOF 1>&2
index d4971194c1dfdce2accf70e02f6616313fd461b4..21cbe01b4eb1dee7543566d9a383ca23bff73e0b 100755 (executable)
@@ -1,6 +1,24 @@
 #!/bin/sh
 # make sure chgrp is reasonable
 
+# Copyright (C) 2000, 2001, 2003, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   chgrp --version
index ff215125ce66215b0c355c392f376c1b87b5ff0b..b15d0c38038eb8307231e431c33d3bcaf5f7736e 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # see if chgrp can change the group of a symlink
 
+# Copyright (C) 2000, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   chgrp --version
index e66a577844f685de51b6fad6b2833cb3409c215f..d82002c612c6a0bb7d39978ed34d506ebdf163d1 100755 (executable)
@@ -2,6 +2,23 @@
 # Make sure chgrp gives the right diagnostic for a readable,
 # but inaccessible directory.
 
+# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   chgrp --version
index e9736968d4100cfb86093105aa6d1181169a2246..147bb5224cfe85717d57668db250124d57862ef8 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Test POSIX-mandated -H option.
 
+# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   chgrp --version
index 7cd1648e2792f7e1946f19e4e28abc566320ec76..23f040d346f400b291eb169d887eea7b05726685 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # ad-hoc tests of chgrp with -R and -H or -L and symlinks
 
+# Copyright (C) 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   chgrp --version
index ff5d16e2cc75606d7122344133807a4bfdd0d2bb..0d73ca89569081c9b056a554203b34ce8f86cc0b 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Verify that chmod's --changes (-c) option works.
 
+# Copyright (C) 2000, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   chmod --version
index 7b6fb781b671729fafba9ea911dd940b74697fb0..191f6b6df0b11897201d28517f680900c4658b17 100755 (executable)
@@ -1,4 +1,23 @@
 #!/bin/sh
+# Test "chmod =x" and the like.
+
+# Copyright (C) 1999, 2000, 2002, 2004, 2005 Free Software Foundation,
+# Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 if test "$VERBOSE" = yes; then
   set -x
index a22017eb63bc4c72a58dccb94a9e0c3d922b4e08..152c0af3f8e39a514cbd9ab41cf3400a3b9cba49 100755 (executable)
@@ -3,6 +3,24 @@
 # Before fileutils-4.1.2, some of them didn't.
 # Also, before coreutils-5.3.1, =[ugo] sometimes didn't work.
 
+# Copyright (C) 2001, 2002, 2004, 2005 Free Software Foundation,
+# Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   chmod --version
index bdaeb732a64748ba691b7a29ff334fe4a67a1c8f..7e5519e4b36855953e99f2d4c9c1b899c933a277 100755 (executable)
@@ -2,6 +2,23 @@
 # Make sure chmod gives the right diagnostic for a readable,
 # but inaccessible directory.
 
+# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   chmod --version
index 74b94238bce2ce4034d91602bff886abd7af5933..e6167c69f20e7ca8eb538fc94589563ae6a82f6d 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # ensure that chmod diagnoses a certain type of invalid mode string
 
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   chmod --version
index 67381fe1ada51d6ce1b302bee2b8ea0bb3f5d8c8..92068b867b692acc95dbc8fc96349fdff4572464 100755 (executable)
@@ -2,6 +2,23 @@
 # Make sure GNU chmod works the same way as those of Solaris, HPUX, AIX
 # wrt directories with the setgid bit set.
 
+# Copyright (C) 2001, 2004, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   chmod --version
index 6ed95b12278fd2e9e863c3bb09167715579f13a3..b95d9d588337a88c790a57676c6d79eed75e078a 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Test that chmod -x file reports an error if the result is executable.
 
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   chmod --version
index 31d0c6f97257d589ffe311113e288e7efdef2de5..eef46668dd8308813bd40148d5f865b989fe0787 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Verify that chmod works correctly with odd option combinations.
 
+# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   chmod --version
index a102fb821743126ce2137626153e579f625b1777..09d86a391490c7124882060a2f4006e0fd68719d 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure chown --from=... works
 
+# Copyright (C) 2001, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   chgrp --version
index 68d36b7b478145a3e3ac706a2f4c738a65c73c94..2c7facd74333d828abf4cd24927590fc451baefe 100755 (executable)
@@ -2,6 +2,23 @@
 # For coreutils-5.2.1 and earlier, chown --dereference would skip
 # symlinks having owner/group matching the specified owner/group.
 
+# Copyright (C) 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   chown --version
index 0c4c59f5412f140cd4019c5dad23789d612d22cb..6a52b3015280d49598e484e2b391d23d544af79e 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Make sure "chown USER:GROUP FILE" works, and similar tests with separators.
 
+# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   chown --version
index acbb22df9463eb8130969874c3335fde0d692b17..1a4aa84f4d5a6f6d8c5217eec565dd2ca476925b 100644 (file)
@@ -1,4 +1,23 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for cp.                         -*-Makefile-*-
+
+# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2005, 2006 Free
+# Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 AUTOMAKE_OPTIONS = 1.1 gnits
 
 TESTS = \
index 3c727473252a146e5c543ac8b5f9eb1e4386fe56..5221ee9acbc204fa926106a8ddd02c16ed6594d4 100755 (executable)
@@ -2,6 +2,23 @@
 # copy files/directories across file system boundaries
 # and make sure acls are preserved appropriately
 
+# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 . $srcdir/../acl
 # Make sure we get English translations.
 . $srcdir/../lang-default
index b17e61af8fd942e628824cd3a94722ac12c3db70..48247ac4bd856ec2a2880cc73b43b7a69999f09d 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test cp backup.
+
+# Copyright (C) 1997, 1999, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 if test "$VERBOSE" = yes; then
   set -x
index 7d4c47d64387896cdefda222a1ad45fb65d3fa34..e0567b8e2f8b79ca304a0e2a8b6035c63db30e10 100755 (executable)
@@ -1,4 +1,23 @@
 #!/bin/sh
+# Test cp backup to source file.
+
+# Copyright (C) 1998, 1999, 2000, 2002, 2004 Free Software Foundation,
+# Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 if test "$VERBOSE" = yes; then
   set -x
index afe2369366371ac4086576bab5af4e84f5c02ba5..02ebd7c67d79787fcb540b404b71c8566f8046c5 100755 (executable)
@@ -1,5 +1,22 @@
 #!/bin/sh
-# test cp's new, -H and -L options
+# test cp's -H and -L options
+
+# Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 if test "$VERBOSE" = yes; then
   set -x
index bfc82773766c9220e7c0328a494d3ce0bb352a36..80085c2635b1dbf235aff7e3502a1f303c312cd9 100755 (executable)
@@ -2,6 +2,23 @@
 # cp -RL dir1 dir2' must handle the case in which each of dir1 and dir2
 # contain a symlink pointing to some third directory.
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index d90b87cc9aa2bb78b8f6e5c0a025f9dc5b3f7194..3dc2c2a7c3595bf8a78de2c8ab23837ee84719df 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Test basic --backup functionality for both cp and mv.
 
+# Copyright (C) 1999, 2000, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index 8f97cb515fd4ece8958cfbdf2955edbe6d18fcab..0081d67c2aad1f519e286854f83a887813c75252 100755 (executable)
@@ -2,6 +2,23 @@
 # cp -R --parents dir-specified-with-trailing-slash/ other-dir
 # would get a failed assertion.
 
+# Copyright (C) 2000, 2002, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 641406fa445fce73044d58599e1d01935dae638a..1f9eecb366b43f99a6b66b69e04c578da37a0634 100755 (executable)
@@ -2,6 +2,23 @@
 # Demonstrate bug when using -d with an existing destination file
 # that is a symlink.
 
+# Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index c6c8229e531daf27c8ffecd737f3871bc27ebc2e..da55bf6601b4ea32ff7239bdcb119eda5e3138af 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # verify that cp's --remove-destination option works with -R
 
+# Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index 2fc10b230679c39c22b494c8d9c3abf4d5b8f7ef..d34c51ecba688f7b51aa3b9b64d3adad4b46af0e 100755 (executable)
@@ -2,6 +2,23 @@
 # Make sure that cp -R DIR1 DIR2 does the right thing
 # when DIR1 is written with a trailing slash.
 
+# Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index b024c213a84cf15c52429e78efc2b42ceaf2aa86..ce334fcef62f18b9dd84d3d6ebc68e79efc23239 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # A directory may not replace an existing file.
 
+# Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index 411173a7cad064b583d8ffbe45eec7aeb38aa78c..bf077e05fbc439e5c5d0ccdc670e0d69e67aae8e 100755 (executable)
@@ -1,5 +1,23 @@
 #!/bin/sh
 
+# Copyright (C) 2000, 2002, 2003, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index 9a6a528511ef5a94f05bddb05cc7b57b1937ae99..dcada77f3f78a04fea6cae0ec0689be2abb7c470 100755 (executable)
@@ -1,5 +1,23 @@
 #!/bin/sh
 # Confirm that copying a directory into itself gets a proper diagnostic.
+
+# Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 # In 4.0.35 and earlier, `mkdir dir && cp -R dir dir' would produce this:
 #   cp: won't create hard link `dir/dir/dir' to directory `'
 # Now it gives this:
index 84902ba06f98320f6d2dc98fef1a969f80a5a78b..a1e1f6a3cadc6ac97fae46e22a5f1232d71b3897 100755 (executable)
@@ -2,6 +2,23 @@
 # Make sure cp --link -f works when the target exists.
 # This failed for 4.0z (due to a bug introduced in that test release).
 
+# Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index 75fc7afc4fcfc2d5852f2c1ec0e01b264b22c39b..b1ee5004d8fb4898eb4afd1817cd6c327e557137 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Ensure that cp --link --no-dereference works properly
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index 6db88249c2efc8a89ad90924004b97c55782fac3..8fbeff0d2f728e77e50a78890bb2cd3fc24598a2 100755 (executable)
@@ -2,6 +2,23 @@
 # ensure that `cp -d' preserves hard-links between command line arguments
 # ensure that --preserve=links works with -RH and -RL
 
+# Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index a7df22c26ecfc81bdb1220d7d3c4ddb15441786b..b3c1c3532e026d29dba23b9f29136886e0f565bf 100755 (executable)
@@ -2,6 +2,23 @@
 # FIXME: This test requires ln -s.
 # cp from 3.16 fails this test
 
+# Copyright (C) 1997, 1999, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index ff0d0692a9a02e965137c36137a73e5fd6467ae8..90e615df220e2bff8cfffee673855d4301309e9c 100755 (executable)
@@ -2,6 +2,23 @@
 # FIXME: This test requires ln -s.
 # cp from 3.16 fails this test
 
+# Copyright (C) 1997, 1999, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index d60d9630b4913957079f5894bab06177ae667583..e93ee7392e1d4056bd80d876341f4e5abfab11e3 100755 (executable)
@@ -2,6 +2,23 @@
 # FIXME: This test requires ln -s.
 # cp from 3.16 fails this test
 
+# Copyright (C) 1997, 1999, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index 9691045256f1486e8c32d0b69e991229cff48033..2499554bc67b199be649e70ea808f1652ec56852 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Make sure the permission-preserving code in copy.c (mv, cp, install) works.
 
+# Copyright (C) 2000, 2002, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 . $srcdir/../very-expensive
 
 if test "$VERBOSE" = yes; then
index 003bf78b841751b459d4708f4a4c86482fb789a0..57816d220f076936c244fb544540a3457d9106dd 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # ensure that cp's --preserve=X,Y option is parsed properly
 
+# Copyright (C) 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index da50602ad9d4f400b593f50d7b354c998743d505..3869507d630185efaa47b88d5d0cdbc4284f7c25 100755 (executable)
@@ -1,5 +1,23 @@
 #!/bin/sh
 # cp -r should not create symlinks.  Fixed in fileutils-4.1.5.
+
+# Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 # Restored old behavior (whereby cp -r preserves symlinks) in 4.1.6,
 # though now such usage evokes a warning:
 # cp: `slink': WARNING: using -r to copy symbolic links is not portable
index a08c4e3f34feb0a7e1b3f50dcdd99c60f3a331b0..05a0e75c0dd6232c34bf2038306a8376fb011ddb 100755 (executable)
@@ -2,6 +2,24 @@
 # Test some of cp's options and how cp handles situations in
 # which a naive implementation might overwrite the source file.
 
+# Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index 3e540fe6b6612ccb93ec0e838a0a94b2966e9721..1d328349f75e05ecc03661cdbfe6e8219663731e 100755 (executable)
@@ -2,6 +2,23 @@
 # `test cp --update A B' where A and B are both symlinks that point
 # to the same file
 
+# Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index 007ce938cb16ef4719f4a631924849e442528c0f..c3217ff58f26031f4461903699d7259f54630dfb 100755 (executable)
@@ -2,6 +2,23 @@
 # make sure `cp -p' preserves special bits
 # This works only when run as root.
 
+# Copyright (C) 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 # This test would fail due to a bug introduced in 4.0y.
 # The bug was fixed in 4.0z.
 
index f55d49dff6b277eab92f0eee89984b449ec6fcae..e99dcdfe6a1585dc8621b888b7c53e85a4c4acea 100755 (executable)
@@ -2,6 +2,23 @@
 # Make sure that cp -dR dereferences a symlink arg if its name is
 # written with a trailing slash.
 
+# Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index 525ddac1395a8e7658023e716c518d68bf97e1b6..1494c4ec9ebf02b1f10d9dba874b771da5081023 100644 (file)
@@ -1,4 +1,21 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for 'cut'.                      -*-Makefile-*-
+
+# Copyright (C) 1996, 1997, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 ##test-files-begin
 x = cut
index cc93c1c11cd0786103e1c82e53dba105c5fcfc2c..b4cd4e5091b60c9847a9570d3615953e41fb843d 100755 (executable)
@@ -1,3 +1,23 @@
+# Test 'cut'.
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2003, 2004 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 package Test;
 require 5.002;
 use strict;
index 53515629d007246f9fc3b6d41bb73ec74e00d090..2db5c5bd7a348899a016d5f06ee2c773e507ab32 100755 (executable)
@@ -2,6 +2,23 @@
 # Ensure dd treats `--' properly.
 # Also test some flag values.
 
+# Copyright (C) 1999, 2004, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 tmp_in=dd-in.$$
 tmp_in2=dd-in2.$$
 tmp_sym=dd-sym.$$
index 42780863b04d597bb0c5ae980a124d8d74e5afcc..534d628f9bf7467159b1e48e6f54a3ba48d8e889 100755 (executable)
@@ -2,6 +2,23 @@
 # Make sure dd does the right thing when the input file descriptor
 # is not rewound.
 
+# Copyright (C) 2000, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   dd --version
index fe68912bd42037338bba062ad8c7d8e4fb9c3706..e6123cfaee8f7f5f1877deb256701b8f4c36ad89 100755 (executable)
@@ -1,5 +1,24 @@
 #!/bin/sh
 # -*- perl -*-
+# Test dd's skip and seek options.
+
+# Copyright (C) 2000, 2001, 2003, 2004, 2005 Free Software Foundation,
+# Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index fdaf68dc2887fe684732efa45f2030e4240576d2..bafb7258cf50bbeea04109f4e1844d33f0c996ed 100755 (executable)
@@ -2,6 +2,23 @@
 # show how to skip an amount that is smaller than the nominal block size.
 # There's a more realistic example in the documentation.
 
+# Copyright (C) 2000, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   dd --version
index 5050db6753d55cbfd917b584ac7fc4ec110da723..73c2b5289dda54be78f9732ee2a4bfe4198972c0 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Ensure that dd conv=unblock,sync works.
 
+# Copyright (C) 2003, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   dd --version
index 563857ce3e2a53fb6e53a3d015ab4543c5ae37ec..71ccfd1747afd1e201673050bc3efbfd923db8b3 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Simple dircolors tests.
+
+# Copyright (C) 1998, 2003, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 4d3d8fdbd1783cf6523ead0c909a6863908c58a8..4f0006df765efd0123e4531c3060fec7ef9e7220 100755 (executable)
@@ -3,6 +3,23 @@
 # Before coreutils-5.93, on systems with a signed, 32-bit stat.st_blocks
 # one of du's computations would overflow.
 
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   du --version
index c777d6663b74062fb027d46f14f83b29004c0411..036cb8699f60b0ec32537d626f9db6e330cb6b9b 100755 (executable)
@@ -2,6 +2,23 @@
 # Ensure that du does not rely on narrow types like size_t for
 # file sizes or sums.
 
+# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   du --version
index 2cfe5ff19f3073bf373031cc16bc7d1f68482e86..e24b85c5bdb4f967c3afb6e85f15ea8c1b30d2b5 100644 (file)
@@ -1,4 +1,23 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for "du".                       -*-Makefile-*-
+
+# Copyright (C) 2000, 2002, 2003, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 AUTOMAKE_OPTIONS = 1.4 gnits
 
 TESTS = \
index 0af4533569146809d3a2a9daf9307672c05aa5b8..0427068f5d742c761fd813cef9832eb6fec10b17 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Compare actual numbers from du, assuming block size matches mine.
 
+# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   du --version
index 0ff12ea9316d0ff3045d1f6fff6843a139c4035f..8a3db87fe2ebd1d2f5b736b1d3e685cb92175ffa 100755 (executable)
@@ -2,6 +2,23 @@
 # prior to coreutils-4.5.3, du -D didn't work in some cases
 # Based on an example from Andreas Schwab and/or Michal Svec.
 
+# Copyright (C) 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   du --version
index 05a1448c65e09219fa43c981e48342a1132989fb..91ce99ff1d872bd6dbd590b10218a5fe4f2dfce4 100755 (executable)
@@ -2,6 +2,23 @@
 # Ensure that --dereference-args (-D) gives reasonable names.
 # This test would fail for coreutils-5.0.91.
 
+# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   du --version
index de24ba19b42457555dcdeef7d11c60e7e8b0a32f..bf36c4bc3a944eb6b2f62f849fdbfcc23c520768 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure du's --exclude option works
 
+# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   du --version
index 2336ed891e935534c3aceee244b1e17381e69ffc..af4482cb442e14b94a8d53fa8045e08297a8c694 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # check for file descriptor leak
 
+# Copyright (C) 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   du --version
index efe62f63206354249c103fec23998227a896dd6b..fdcb5957515c516e56c5494e7142f1ea72b93653 100755 (executable)
@@ -2,6 +2,23 @@
 # -*- perl -*-
 # Exercise du's --files0-from option.
 
+# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 : ${PERL=perl}
 : ${srcdir=.}
 
index 3702e8d54a6f0173be73df2049425274ae762a2f..920ae52f1bfcb0177e3b9886488fdbe2840073cf 100755 (executable)
@@ -3,6 +3,23 @@
 # Likewise for excluded directories.
 # Ensure that hard links _are_ listed twice when using --count-links.
 
+# Copyright (C) 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   du --version
index c344d6d3e894c1983bbc50aaabaac4f0c20d1514..e50534cc745ef5aa0937fe5cd25267e7ed6e9805 100755 (executable)
@@ -1,6 +1,24 @@
 #!/bin/sh
 # Ensure that even when run from an inaccessible directory, du can still
 # operate on accessible directories elsewhere.
+
+# Copyright (C) 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 # Before the switch to an fts-based implementation in coreutils 5.0.92,
 # this test would fail.
 
index 2ae7ed1d9027ea28002541106fc9afc5aa579786..5a84c2e343ac86b2638779a49954d9d759b9b129 100755 (executable)
@@ -1,4 +1,23 @@
 #!/bin/sh
+# Show fts fails on old-fashioned systems.
+
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 # Show that fts (hence du, chmod, chgrp, chown) fails when all of the
 # following are true:
 #   - `.' is not readable
index 2dee47be90b3f8e9e713ed8b49c1a878c08fc1ef..69ce0e0c6042d6b83b2a36396226132a77d8c418 100755 (executable)
@@ -3,6 +3,23 @@
 # Show that du fails with ELOOP (Too many levels of symbolic links)
 # when it encounters that condition.
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   du --version
index c8ef95ba1899d6a734c79a22fbdda6181a22ef54..db0f30c32b494e8e32331713e90f9186aab7c035 100755 (executable)
@@ -1,5 +1,22 @@
 #!/bin/sh
-# Ensure that by defualt, du doesn't dereference symlinks given on command line.
+# Ensure that by default, du doesn't dereference command-line symlinks.
+
+# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 if test "$VERBOSE" = yes; then
   set -x
index 7cd2f182b0ad13c06d3e6de65a98abee6b4850c7..75b4e4f6375d6bef669ea5d78dc5fa6765ac7276 100755 (executable)
@@ -2,6 +2,23 @@
 # Make sure du gives the right diagnostic for a readable,
 # but inaccessible directory.
 
+# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   du --version
index 927265af547460f37ea5303add4d15fc49d9e108..c7b6233061878ead0d534b9a3faf01cf56583def 100755 (executable)
@@ -2,6 +2,23 @@
 # due to a bug in glibc's ftw.c, in some cases, nftw w/FTW_CHDIR
 # would not restore the working directory.
 
+# Copyright (C) 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   du --version
index 423fb38990804d858adf09970320e84d9f3afbd8..636e961c62e40b9b3d74f654e3cb980dd837882d 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # `du /' would omit the `/' on the last line.
 
+# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   du --version
index 4625aa0538c77647e61f4e443e61eb11701c8cfd..74f8abf9ecc9ea96e12fbc40d946f184c419f45a 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Ensure that the size of a long-named-symlink is > 0.
 
+# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   du --version
index 41a9b53c0a9f8bf33e2b58b7d6b9c36b12a17f3b..a9785c7dbd4dfeebce8d2a6ef594f98ce0ee88e5 100755 (executable)
@@ -1,6 +1,24 @@
 #!/bin/sh
 # Ensure that du works properly for an argument that refers to a
 # symbolic link, and that is specified with a trailing slash.
+
+# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 # Before coreutils-4.5.3, it would remove a single trailing slash.
 
 if test "$VERBOSE" = yes; then
index 5e9649933bbce09875a9ea493e872ff243f76c1b..45f911c4cc48d219920dac52cc3b27c81f1e25cb 100755 (executable)
@@ -2,6 +2,23 @@
 # Make sure `du d/1 d/2' works.
 # That command failed with du from fileutils-4.0q.
 
+# Copyright (C) 2000, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   du --version
index 8d1d3b903d57893ab64f3f49446e15ac53747b2a..357a6176a30daad45c538f15e0ddb79cbf80bf2c 100644 (file)
@@ -1,4 +1,24 @@
 # -*- sh -*-
+# Check environment variables for sane values while testing.
+
+# Copyright (C) 2000, 2001, 2003, 2004, 2006 Free Software Foundation,
+# Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
   as_unset=unset
 else
index d1bbc5a70f44a3220e7ebc71598b042c79ddcbae..cc3f40d50428e58a4d32862fc3c8e483634e270f 100644 (file)
@@ -1,3 +1,22 @@
+# Is a test expensive?
+
+# Copyright (C) 2000, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$RUN_EXPENSIVE_TESTS" != yes; then
   cat <<EOF >&2
 $0: This test is relatively expensive, so it is disabled by default.
index 94527da10c28c750debab694ae77dbdd6e686710..ee264d94ceb024e9bb1acec436e61872bf284a46 100755 (executable)
@@ -1,5 +1,24 @@
 #!/bin/sh
 # -*-perl-*-
+# Basic tests for "expr".
+
+# Copyright (C) 2001, 2003, 2004, 2005, 2006 Free Software Foundation,
+# Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index b819c5ae54422a3bd3536dbab13cb8cfa9318772..8b91cce091d505f9f2d18d846315b426a1d31999 100755 (executable)
@@ -1,5 +1,24 @@
 #!/bin/sh
 # -*-perl-*-
+# Basic tests for "factor".
+
+# Copyright (C) 1998, 1999, 2000, 2003, 2004, 2005 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index ad536d1168b5447dd022520ea349cd4d926a9f50..77682f10305e44a65a30070cc4e7ee413a08b857 100755 (executable)
@@ -1,5 +1,24 @@
 #!/bin/sh
 # -*- perl -*-
+# Basic tests for "fmt".
+
+# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 9905e200c6a730fbcf4ff617a8bcdd177b06eccb..e4aaec8cff11739a0c99012d4434bc1b248526f1 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure fmt -s works even on long lines
 
+# Copyright (C) 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   fmt --version
index e5679eaa61b438a3bca5fd2b51facf4b53e6b2a2..4577309c741041dea0b4f7f6d11885cada94bb4b 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to create Makefile.in.
 
 ## Makefile for Autoconf testsuite.
-## Copyright 2000, 2003 Free Software Foundation, Inc.
+## Copyright (C) 2000, 2003 Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
index 7751c7ee28d3475e80ec858ac807943ca63bdfdf..da974ca6c9f027b8de83756dcbcb4590505e22e0 100644 (file)
@@ -1,6 +1,6 @@
 include(m4sh.m4)                                           -*- Autoconf -*-
 # M4 macros used in building test suites.
-# Copyright 2000 Free Software Foundation, Inc.
+# Copyright (C) 2000 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 3be256caba9fb2b27f96435f649ed5ebd22d1926..8978313e7a42054a2ca089d3677509f24cc72cfc 100644 (file)
@@ -1,5 +1,22 @@
 #                                                      -*- autoconf -*-
 
+# Copyright (C) 2000 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 cat <<EOF
 
 Executables (autoheader, autoupdate...)
index ad4d0abd439c067dac30206ae378c2c74385bd9e..eb5716052462f17108276c154bcf737ce41ffa0e 100644 (file)
@@ -2,6 +2,23 @@
 # Set `groups' to a space-separated list of at least two groups of which
 # the user is a member.
 
+# Copyright (C) 2000, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 groups=${COREUTILS_GROUPS-`(id -G || /usr/xpg4/bin/id -G) 2>/dev/null`}
 case "$groups" in
   *' '*) ;;
index 9fe1ff9d29c8fafea8de5d217c9078fe6ffc3ca3..d4591ed8e3014a2236d0a611bc5e951e36524c73 100644 (file)
@@ -1,4 +1,21 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for "head".             -*-Makefile-*-
+
+# Copyright (C) 1997, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 ##test-files-begin
 x = head
index 1eb167737594493010e75d863878b7e3123b138a..263ccaff1194203f4cb2c01c7f894c2419b419c2 100644 (file)
@@ -1,3 +1,23 @@
+# Test "head".
+
+# Copyright (C) 1997, 1998, 1999, 2000, 2002, 2003, 2005 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 package Test;
 require 5.002;
 use strict;
index 47cc9d467543553e42d3c37880dfca4445e027b7..2ed9312f0572afcf0c9c0f7efab8819fbdc80a0d 100755 (executable)
@@ -2,6 +2,24 @@
 # Make sure all these programs work properly
 # when invoked with --help or --version.
 
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 test "$VERBOSE" = yes && set -x
 
 # Ensure that $SHELL is set to *some* value.
index 0fdb43953d2e55d6e952aec921bae9041149ad70..c41ea889bb37cfbbe5c18e1d4123dfe48c0881e9 100755 (executable)
@@ -1,4 +1,23 @@
 #! /bin/sh
+# Basic tests for "install".
+
+# Copyright (C) 1998, 2000, 2001, 2002, 2004, 2005 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 if test "$VERBOSE" = yes; then
   set -x
index 963e6a135d23500331b1b94f573fbde24f55be14..8cfb0205f5b9a1cf87bf881613d6e8c5cc2f4bf2 100755 (executable)
@@ -1,5 +1,23 @@
 #! /bin/sh
 # Test -D option.
+
+# Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 # Note that the tests below use `ginstall', not install, because
 # that's the name of the binary in ../../src.
 
index 3c26b7b3b951184dd37e3a9f8a4edac1e26737d6..904769d46883653d9a37c47110547d745da300fa 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Ensure that ginstall -d works with arguments specified with a trailing "/.".
 
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   install --version
index 7bb09ae83aa4a2a65e93a10390c51c75d69f34d3..70f6767e43e4cc65b4280f14b9c345e668f6a40c 100755 (executable)
@@ -2,6 +2,23 @@
 # Ensure that `install -s' doesn't infloop when its parent
 # process traps CHLD signal.
 
+# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   ginstall --version
index 2328b3f15c5c3ffdfb202116fa46112c736f44d9..a7dcb9ea56d877746cc909d6ae81ab2ff07d5a0a 100644 (file)
@@ -1,4 +1,22 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for "join".
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2003, 2004, 2006 Free
+# Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 ##test-files-begin
 x = join
index e666a751035794279f8f87ed40bf0ce7f899d4c7..37b1449acd71a2522ef129c0f4bb1c91e8459d2a 100644 (file)
@@ -1,3 +1,22 @@
+# Test "join".
+
+# Copyright (C) 1996, 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 package Test;
 require 5.002;
 use strict;
index 30bdf1d93da1fb09ee1c3579b73ffac95afb6f78..b246693249a8cd3e61961023fd5f0e1008aa8b0c 100755 (executable)
@@ -1,6 +1,24 @@
 #!/bin/sh
 # Try to create a symlink with backup where the destination file exists
 # and the backup file name is a hard link to the destination file.
+
+# Copyright (C) 1999 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 # Based on a problem report from Jamie Lokier.
 
 if test "$VERBOSE" = yes; then
index ab63a975bf087a114634133ee917c1638612ea90..51155911a4ea579baf14798010f03c5d400f6bcb 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Miscellaneous tests for "ln".
+
+# Copyright (C) 1998, 1999, 2000, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 if test "$VERBOSE" = yes; then
   set -x
index 8ebbfc0e2513d22f2dd60fb840b0bfdb5f183bd7..971c25b8779266710234558dd307c89f075ef945 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test "ln -sf".
+
+# Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 test=sf-1
 
index 91eb45da02b97422ae28972224117665b31fd448..76da11caef4274119e31f64f22bc6ff6d9d574b7 100755 (executable)
@@ -1,4 +1,23 @@
 #!/bin/sh
+# Test "ln --target-dir" with one file.
+
+# Copyright (C) 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 # Before coreutils-4.5.3, --target-dir didn't work with one file.
 # It would create the desired link, but would fail with a diagnosis like this:
 # ln: `d/.': cannot overwrite directory
index 8b30916b4392455a319c17ba723163186113f233..d0257a6a3c04a3970649e548a427c1cf6b8bcf2e 100755 (executable)
@@ -1,6 +1,24 @@
 #!/bin/sh
 # -*- perl -*-
 
+# Copyright (C) 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free
+# Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 : ${PERL=perl}
 : ${srcdir=.}
 
index fc8af7c55d8e59bb09906c59f695c1c1cc5f99b1..add9988c1ac73719c403745d5de7d84e7e922e4e 100644 (file)
@@ -1,4 +1,22 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for "ls".               -*-Makefile-*-
+
+# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006 Free
+# Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 AUTOMAKE_OPTIONS = 1.2 gnits
 
index 8d5d8d4db76d6bb28a3a01f048be41fe569dc6d1..f1be61ffff3e03a3997672e01dcaf839349465f0 100644 (file)
@@ -1,3 +1,22 @@
+# Test "ls".
+
+# Copyright (C) 1997 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 package Test;
 require 5.002;
 use strict;
index b08d245db816241a7558a80734fa649f9ff300b6..f9fc770222a4d8c6a45ec41ae20011872346c920 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Make sure ls properly handles dangling symlinks vs. ls's -L, -H, options.
 
+# Copyright (C) 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   ls --version
index 8126e0a45aa1ca3436786873917323a0b94ffac1..0bac42b600ab30706c949723513699f8bf64cf61 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure --dired option works
 
+# Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   ls --version
index 8eafe95542ef4d87d528da23f66e1258b5d48047..27f2f773907c72416042f6e2c5b7e92375c8c523 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # contrast ls -F, ls -p, and ls --indicator-style=file-type
 
+# Copyright (C) 2002, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   ls --version
index 527393e565fc60d5d9e20c2a0a60f93a44312e09..cb6a6ed3c3f1dd5c5e37f285589fe00adb272bde 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure ls -L always follows symlinks
 
+# Copyright (C) 2000, 2002, 2004, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   ls --version
index 9e2ad79fcfef08dada77abd13463898d53aeaf11..b413b2a71a5b8f1d1f2061b09f9527513460c9f1 100755 (executable)
@@ -2,6 +2,23 @@
 # show that the following no longer makes ls infloop
 # mkdir loop; cd loop; ln -s ../loop sub; ls -RL
 
+# Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   ls --version
index efaa02e1dc1dd61211544750b2f30eff976ad0db..2a39b0262e99d7e318dca8b9f8b4b4f0724ed36d 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Make sure that ls -i works properly on symlinks.
 
+# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   ls --version
index 855ca908852311e7be60032dfc92787bcdafa4f7..f5b0cfcc56d1fd2612237335121e6f461e8ea64b 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # exercise the -m option
 
+# Copyright (C) 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   ls --version
index 46fa6d901bc719306eba8838cc52513d5fc905b4..809397c2b08c4afa7e1fe9b9615256d52694c031 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure ls and `ls -R' do the right thing when invoked with no arguments.
 
+# Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   ls --version
index 455db181a39c5b9c9867edce7e14863a9c2d702d..31e3fe104c4177fc40d2ab1acffd71d868006982 100755 (executable)
@@ -2,6 +2,23 @@
 # 4.1.1 and 4.1.2 had a bug whereby some recursive listings
 # didn't include a blank line between per-directory groups of files.
 
+# Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   ls --version
index 3d89a7b9f6d21c1b098ccdfb1200318e1ca2e1cd..c7ba4e56586f352a45a76ee0204697f3040ba451 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Make sure name is used as secondary key when sorting on mtime or ctime.
 
+# Copyright (C) 1998, 2001, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 . $srcdir/../envvar-check
 . $srcdir/../lang-default
 
index f6a50fda8fb83856d89497e16905fea27ea34f21..5851fdc7e5eb9e1e1b6ac3a0ab0fb0995d97750f 100755 (executable)
@@ -1,5 +1,23 @@
 #!/bin/sh
 # Ensure that ls --file-type does not call stat unnecessarily.
+
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 # The trick is to create an un-stat'able symlink and to see if ls
 # can report its type nonetheless, using dirent.d_type.
 
index fc6abf3a283fd768caa72a6d5a32b547f6226261..4b50a697787456d93a4f18fa0ad5797a121bbfe1 100755 (executable)
@@ -2,6 +2,23 @@
 # Verify that ls works properly when it fails to stat a file that is
 # not mentioned on the command line.
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   ls --version
index 048ba5fc4463bf351a5f5abae57cd2c71ed057d6..eab3a69e52aae699d41fdd8d995034406b2f3cab 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Ensure that d_ino (from ls -di) and st_ino (from stat --format=%i) match.
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   ls --version
index 8862353e90cea2387f87c47065b06bab8f818a9d..1caa2219b33f457ba3f46d8b3564755b2e6adc05 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Do dereference a symlink arg if its name is written with a trailing slash.
 
+# Copyright (C) 1999, 2000, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   ls --version
index 1d50033caeb09ca89512772e1c632ca97d47918a..aaaf04ad1f8f3b7e13b58c2da6215d84a6bfa7f8 100755 (executable)
@@ -1,6 +1,24 @@
 #!/bin/sh
 # Test some of ls's sorting options.
 
+# Copyright (C) 1998, 1999, 2000, 2001, 2004 Free Software Foundation,
+# Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   ls --version
index 63221988a1e4ddf4fe2fe79908cd8efbdc333dd5..5f02af257a408671450f19ea15bab2085df2cd97 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Basic tests for "md5sum".
+
+# Copyright (C) 1998, 1999, 2003, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index d0facd32f3e24774b3b67c68ccccb9800be849f4..5a4506fa02cb10a13a65fa5e030016b8652f7645 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Newline tests for "md5sum".
+
+# Copyright (C) 1999, 2000, 2003, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 5c01b43b4b8348302cdc9646025e985da048ad6f..8ff26e72026242e5dc2779dc2ec8cbd070978b99 100644 (file)
@@ -1,4 +1,22 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make miscellaneous coreutils tests.                  -*-Makefile-*-
+
+# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 EXTRA_DIST = $(TESTS)
 
index 11cae87c1ceb9f86265fb121d17507eecee6e497..02591da86695991c4f52398b0136a204c003575d 100755 (executable)
@@ -2,6 +2,23 @@
 # -*- perl -*-
 # Exercise base64.
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 : ${PERL=perl}
 : ${srcdir=.}
 
index 490ad3952932b536d6e9d245909f04ab12e31961..89d96ff02ba87e439fa4716d8045f17dc67fe464 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # -*-perl-*-
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 : ${PERL=perl}
 : ${srcdir=.}
 
index b53864ef58c2551b140fe0a3b11481ad3950079a..d6ff5011bc91de5ccb82613009ace7586c020bcf 100755 (executable)
@@ -2,6 +2,23 @@
 # Ensure that cat -E produces same output as cat, module `$'s,
 # even when applied to a file in /proc.
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cat --version
index 42cd92c650ee592d88f81c8252b915ab71e8dfff..a232fd746e7ed5e257c1e89ffc548408cd75a93c 100755 (executable)
@@ -2,6 +2,23 @@
 # Ensure that several programs work fine, even with stdout initially closed.
 # This is effectively a test of closeout.c's close_stdout function.
 
+# Copyright (C) 2004, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index 81a98afa52a8ba1a062afcbabe012b9099efbe9b..1feea66455a12c3be50c1261de696f61f309eb00 100755 (executable)
@@ -1,6 +1,24 @@
 #!/bin/sh
 # various csplit tests
 
+# Copyright (C) 2001, 2002, 2003, 2004, 2005 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   csplit --version
index 56577b34b369154c6e7fa9ec4cde9e8f27bf53ef..b9b253df3c3fbe42273b03891608a17d9c74d4b4 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test "date".
+
+# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index b296b7ea64cff5b6614795edecc8d976a9de22bf..aac1e0a988e056afaa04ca2f59a573992f6dcebe 100755 (executable)
@@ -3,6 +3,23 @@
 # `date --date="21:04 +0100" +%S' always prints `00'.
 # Before coreutils-5.2.1, it would print the seconds from the current time.
 
+# Copyright (C) 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   date --version
index b1efe61ab4289bfc9d3cf9d90c3128740a7a74cd..31040ca960c7a4bc925cc69ea6091bb70bd1790b 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Ensure that "df ." outputs a header.
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   df --version
index 63006ee2c24343407c72da9c11394d1b9f54159b..c217d9ab42458292b8cff0a0e66484598daa3e89 100755 (executable)
@@ -1,5 +1,23 @@
 #!/bin/sh
 # -*-perl-*-
+# Test "dirname".
+
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 09373d59b6a57ef60aeb1dfce801f13a2be93e12..dcf06815f677a2b434e846b71cbf4013937d5677 100755 (executable)
@@ -2,6 +2,23 @@
 # -*- perl -*-
 # Exercise expand.
 
+# Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 : ${PERL=perl}
 : ${srcdir=.}
 
index 2d85bb56cf70e9ea22d1cd74829d4117a9a6efce..0397c2992bf58196a9e3692794c69e548a3ab75a 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # ensure that false exits nonzero even with --help or --version
 
+# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   false --version
index d070d4586c80292b19e6a2cec781989a2642b781..ceab2e9d8a8097037c772c41fd856b193f34e145 100755 (executable)
@@ -2,6 +2,23 @@
 # -*- perl -*-
 # Exercise fold.
 
+# Copyright (C) 2003, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 : ${PERL=perl}
 : ${srcdir=.}
 
index bd899aff4b3713e73534be2c2a93c181c9d6b511..387a5be8f09cc4c924b8b2107e0ebf6dedf8c97c 100755 (executable)
@@ -1,5 +1,22 @@
 #!/bin/sh
-# exercize the fix of 2001-08-18, based on test case from Ian Bruce
+# exercise the fix of 2001-08-18, based on test case from Ian Bruce
+
+# Copyright (C) 2001, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 if test "$VERBOSE" = yes; then
   set -x
index b7a49a2cbe75409753b129b89b828284d7b4465d..911ca6129d981c9916120ec0b3fb43d6526174be 100755 (executable)
@@ -2,6 +2,23 @@
 # -*- perl -*-
 # Exercise head's --bytes=-N option.
 
+# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 : ${PERL=perl}
 : ${srcdir=.}
 
index a8791f2e957b984dfee77132c1aa885e0a412c25..edb3343113787140f7a83d996a2be218d92d6085 100755 (executable)
@@ -2,6 +2,23 @@
 # When reading a specified number of lines, ensure that the output
 # file pointer is positioned just after those lines.
 
+# Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   head --version
index b6670ab08e7433d82789ea9bc5d9ff436da81fcb..ca15feb8a2ab5c1a2eaa4cd3b38ae9990fdc934e 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Ensure that mknod, mkfifo, mkdir -m MODE work with a restrictive umask
 
+# Copyright (C) 2004, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mknod --version
index 99cb58eede3c27f8ab229b4b06aaf64cc6e6e28e..02c10b5fb307fe9a4b3a775f9c9052c98d916785 100755 (executable)
@@ -1,4 +1,23 @@
 #! /bin/sh
+# Test "nice".
+
+# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 # This script takes no arguments.
 
 if test -n "$DJDIR"; then
index 2bc9c893698df67c4af369d667f8c758c6bfda13..2244ae2818d3292c2e5e7c80c8eced2c7cc38a26 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # exercise nl functionality
 
+# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   nl --version
index 112811705fc6dc7bd293f292859128559a8b9412..d44d3f9867c7343e74b355eae7544ef7d73675df 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # test nohup
 
+# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   nohup --version
index b854f83852199086abab88842813a7c1062e2eb1..6fafb0845333e6693de52cf1185afe8d7179ee84 100755 (executable)
@@ -2,6 +2,23 @@
 # -*- perl -*-
 # Ensure that paste properly handles files lacking a final newline.
 
+# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 : ${PERL=perl}
 : ${srcdir=.}
 
index 7d2d3de8838c7f9523891ab9f5bd9704a380a6a1..eb7b462ade16b6570581dd23e0102a883216db4e 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # pathchk tests
 
+# Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   pathchk --version
index 64d16f336ebf126babe5914a435965d87a11ea81..6b29277b00e454856faffc2d96704c6cf5d5d710 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # basic tests for printf
 
+# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 prog=`pwd`/../../src/printf
 
 if test "$VERBOSE" = yes; then
index 7fbd1c1dd0b96671d0341d58b15d493daff7c8ad..df001cd8d270f8bf6b46e253ed97a6ec6d34adc4 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure that only two hex. digits are consumed in a \xHHH sequence
 
+# Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 prog=`pwd`/../../src/printf
 
 if test "$VERBOSE" = yes; then
index 5ae4c0449a72e398419dcf9ecff8c7f5e2b9639b..c4af777f359fc76f716c66abc3c7db57deb44fc2 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Check "printf" with long arguments.
+
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 
index edbe05858e9533e312fdefca72e8ee7dfa565636..2b3c402016f53cc95fd4c15ee09816348e2b1dd8 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test "sha224sum".
+
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 2b65372b2864245594a42e3530527530290ad00a..59ee0726eca7ac783bf50d9eb9a498860a78405f 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test "sha256sum".
+
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 507fb6737d1732b39aea338d3c5d73d6d8359cbc..823610441eca6d1a0865b20d4b8381d17c9e33d6 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test "sha384sum".
+
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index f61c7149e423173701cc1b9ea35cecd7ac0fe232..84f4cfb3c7ca261759e06642da63b48311486355 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test "sha512sum".
+
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 17dea50454afada083188d76e468b30b783cf698..585df99017a9d3342461cb46a4e5c4bd6cda57c8 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Ensure that shuf randomizes its input.
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   shuf --version
index d27f42ea1e0305dd4ec7d3240f86a520e98ac4ba..a737e4d9d2b18e74dfbc04ff1a3675236b09aaca 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test "sort -m".
+
+# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 37c19e0ab38dac9aae13778ea851a23a552b79d8..04bcc477fbce24cb838c0e7565b7c5f19ac97590 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Ensure that sort --sort-random doesn't sort.
 
+# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   sort --version
index a9940b71f91adf0eb3a919918fc81ff4dee3e1e3..3ae4736c2ee6200a83501c4128a13e67895ed734 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Show that split -a works.
 
+# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   split --version
index 79bda949b027882c4372253e7bade183e58310b5..1268190b8f29b38366c9f427f7045f624fc51750 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # split must fail when given length/count of zero.
 
+# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   split --version
index 10148bab2f1a85e0c75fe745ea0bcf7e08316b27..27c4c3f1b7101462a6535a12e527ea41d20fd93c 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # show that `split --lines=2' works.
 
+# Copyright (C) 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   ln --version
index 4283ff7dfa71a2c01fc60e3a24cded188394133f..560ea1014c45f015d4fe6b2e4a6c5d5dfd8d8ab1 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # ensure that stat properly handles a format string ending with %
 
+# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   stat --version
index 13a63c4d96083a95dc47b3e620915b66ee9047d6..ecd4940938031591ead571fd71202dbb074278e4 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test "stat --printf".
+
+# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index fd9e120ab33d72cea327dc76a3acd3f0663f8bb8..41764296b4d582277f27524bbf9f352cdc0f0a45 100755 (executable)
@@ -3,6 +3,23 @@
 # when it encounters an error with say the first one.
 # With coreutils-5.2.1 and earlier, this test would fail.
 
+# Copyright (C) 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   tac --version
index c154f38cf4c0adaf6ef3110c5ebeb3b600d61881..87fe7573c8dca21f653c6002161785c63bda790c 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test the diagnostics of "test".
+
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 39e9e0399728dbc2c639ed0e04c96ba942adaed5..37d4c3a04249c0b8ac2849ef9db71adddb6d4481 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test whether programs exit upon a single EOF from a tty.
+
+# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 
index 8041359c81b7b60f734022e2f19a326343d86e4c..758024aa7cc09dba904ef1aec7e6c5629e112433 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Show that wc's new --files0-from option works.
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   wc --version
index 459d87792f23ebe25090c95791460d4b0e770a7b..72f1bdf89de319432f0c0ef69ef6693ff8b19a17 100755 (executable)
@@ -3,6 +3,23 @@
 # Exercise wc's --files0-from option.
 # This file bears a striking resemblance to tests/du/files0-from.
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 : ${PERL=perl}
 : ${srcdir=.}
 
index 3cc591900229ae235548169ba105d4a8e55ebb92..d3de016f46fd9ffc8e6fc2d6206c1df2aa629c9e 100755 (executable)
@@ -1,5 +1,24 @@
 #! /usr/bin/perl -w
 # -*- perl -*-
+# Make test scripts.
+
+# Copyright (C) 1998, 2000, 2001, 2002, 2003, 2005 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 my $In = '.I';
 my $Out = '.O';
index 0b1a9ae89b39768042f290c2e6906db39a9704f5..ff7e9694635148e74660c46523df39642c6a62fb 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test whether "mkdir -p" works concurrently.
+
+# Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 # TMPDIR should be an absolute dir for this test.
 # FIXME: enforce it
index 272e35eee9de8d656e36df0a760546d5d33e870e..5b9eb5b31a15f43f91262db0da06df2e56be18ed 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test "mkdir -p".
+
+# Copyright (C) 1997, 2000, 2002, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 if test "$VERBOSE" = yes; then
   set -x
index 7e65697cb48a780fab1a32adef38c7558d8ec5ce..38f2380723b576366055d88c14d801cb7caa7f9b 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Just like p-1, but with an absolute path.
 
+# Copyright (C) 1997, 2000, 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mkdir --version
index c3e555201079f3f128dec43d09419e6d1d8a5874..3fab3782730366315217fa4adefc92b1c30b235a 100755 (executable)
@@ -3,6 +3,23 @@
 # causes immediate failure.  Also, ensure that we don't create
 # subsequent, relative command-line arguments in the wrong place.
 
+# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mkdir --version
index de99c5cd5536b5ac01aca2aa9cb56d1b3334e4bc..db750f65503bb26a0c60f0c14bd98a49e7cb4dc1 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Ensure that mkdir -p works with arguments specified with a trailing "/.".
 
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mkdir --version
index 448b8f7ea9d8600eead2d1f5181ee50dd36c14ce..26c3d76258e0ab87231e3948968feb089e0ce650 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Ensure that mkdir -p foo/bar works when foo is a symbolic link to a directory
 
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mkdir --version
index 7c37fa9665d95148622bf0bbd3cd99ba178570b1..0bb98ccd0d755c5cb9e4ea98fb5269ea5572bbe2 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure mkdir's -p options works properly
 
+# Copyright (C) 2000, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mkdir --version
index 8fa2c49b2b06b857c362aefb1503f114bb3718a4..842c881a58e4da6705c0c0f773902d2f5c7d7fc2 100755 (executable)
@@ -2,6 +2,24 @@
 # Verify that mkdir's `-m MODE' option works properly
 # with various umask settings.
 
+# Copyright (C) 2000, 2002, 2003, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mkdir --version
index 5f0c24b9c2a0ddda02341a1949450ebd1465d24c..a5b65043bf40c1579aeb56a6c42318e4b035d5d5 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # verify that mkdir honors special bits in MODE
 
+# Copyright (C) 2000, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mkdir --version
index b96bf67dda38e7a4ca6a793b44cf65511e19182a..de0f17f0cbc644a85d231353977bb0f68588e36b 100755 (executable)
@@ -2,6 +2,23 @@
 # Ensure that mkdir works with arguments specified with and without
 # a trailing slash.
 
+# Copyright (C) 2000, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mkdir --version
index ab55a22a6bdd79417bd1039ad71c4ead0ceec770..ccd633e5282ff05dfce9f8527ee47b7270dc32a3 100755 (executable)
@@ -2,6 +2,23 @@
 # This is just for the record.
 # This test is not run.
 
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 # Test for the 2005-10-13 patch to lib/mkdir-p.c that fixed this sort
 # of bug in mkdir:
 #
index 91aa9a076491861c17877058b6a0af98f95fb79f..e5432837aaf4f2c97f388114519e23191212456b 100644 (file)
@@ -1,4 +1,23 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for "mv".                       -*-Makefile-*-
+
+# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+# Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 AUTOMAKE_OPTIONS = 1.3 gnits
 
 XFAIL_TESTS = acl
index e867e827b183b8224db73b3b6800062387cf00c9..52c6fe130a84c6f3f4911f15b9b046c74912cdd3 100755 (executable)
@@ -2,6 +2,23 @@
 # move files/directories across file system boundaries
 # and make sure acls are preserved
 
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 . $srcdir/../acl
 . $srcdir/setup
 # Make sure we get English translations.
index b0707ff5431bc294f88b0ade3f6803f9ded0af0c..4a9047f2a8502a898df8ebe4f40eda8c5ae1061e 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # ensure that mv doesn't first unlink its destination in one particular case
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index db63e73833646d8582e7c7ec0ef437222e68cb8b..00ecc10334631fcabc5513d1e88567a09ca2ffc7 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Force mv to use the copying code.
 
+# Copyright (C) 1998, 1999, 2000, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index c1e339ac2201d4b6a448693304304dc4098b39b3..b6101d36ec98e91276537ea47d83555daacd8ce3 100755 (executable)
@@ -2,6 +2,23 @@
 # Ensure that cp/mv don't clobber a just-copied file.
 # With fileutils-4.1 and earlier, this test would fail.
 
+# Copyright (C) 2001, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index c8d08925d222ab14992499f6eae25cf25e0ba28a..c3aaa52e7b5018a3b03bd70e1d0567fe9ad9a2b0 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure we get proper diagnostics: e.g., with --target-dir=d but no args
 
+# Copyright (C) 2000, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index c51448a550a0ecbbfd886073ac3da067d097dc53..417b51d5307ffb75665da45d9c1d817a2dec47af 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # mv must fail when src and dest are mismatched directory/non-directory.
 
+# Copyright (C) 2000 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 189b4f9910126ef7428f49cb3b39fccb675e183d..28462a44f6d223731502afe3e7de0a3912dc554e 100755 (executable)
@@ -2,6 +2,23 @@
 # Ensure that mv prints the right diagnostic for a dir->dir move
 # where the destination directory is not empty.
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index ad2b7eb3f47b7ed886c420ae4073efdfa348ba98..b3d86daad8cd8aab5ccb941aedeacd0e3cf12fe0 100755 (executable)
@@ -4,6 +4,23 @@
 # made this fail:  cp a a d/
 # Ensure that mv fails with a similar command.
 
+# Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index 2293b2d65e9e283e5cb22c80f376bde75916e3a2..3836ec046e4c9f227685d8ee8c5e8dc5e48530ec 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # move a file onto itself
 
+# Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 1af8fb121bac5124df7e3c25dbe9f8f039b46c13..7dcc6c34a268b40d94382e4a0fcc019a5ce119fd 100755 (executable)
@@ -2,6 +2,23 @@
 # Ensure that moving hard-linked arguments onto existing destinations works.
 # Likewise when using cp --preserve=link.
 
+# Copyright (C) 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index fc8a6908a47f2753ade086f9bf1424bb22005efc..b5141177582c18d1bba9e6934afc2939f6e6b5ca 100755 (executable)
@@ -1,6 +1,25 @@
 #!/bin/sh
 # Ensure that using `cp --preserve=link' to copy hard-linked arguments
 # onto existing destinations works, even when one of the link operations fails.
+
+# Copyright (C) 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+
 # This bug was fixed in coreutils-4.5.9.
 # To exercise this bug is non-trivial:
 # Set-up requires at least three hard-linked files.  In copying them,
index 87bf710b5ed2c7b26fdd830610f438696de171f9..d44df08522bc75668966463ae7dfabb2d925db8a 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # ensure that mv removes a in this case: touch a; ln a b; mv a b
 
+# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 6f7d1b7defc1c53ee2bb2291f05182c766cdef6b..03327ad1473b2ddb7954a9d9501b6ab4cae97e4e 100755 (executable)
@@ -2,6 +2,23 @@
 # move a directory containing hard-linked files and
 # make sure the links are preserved
 
+# Copyright (C) 1998, 1999, 2000, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 97389267dc9b3a859635dcf9f089bfbae0edde2c..3ab73c08d177be694dbb167d8f3fc39aa8b6e1ca 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Make sure a `n' reply to `mv -i...' aborts the move operation.
+
+# Copyright (C) 2001, 2003, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 82cce5710f3350aa3b8463f4316f06e4b748a4dc..a3f51102b43814e37f8a82ed58b3b0c1998acd95 100755 (executable)
@@ -2,6 +2,23 @@
 # Test both cp and mv for their behavior with -if and -fi
 # The standards (POSIX and SuS) dictate annoyingly inconsistent behavior.
 
+# Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 68207a0bf38cecaabdf8c5f4c40506f30b1a51d4..cd59e66ad7f1a7c764a66dedd37584942b2c7f31 100755 (executable)
@@ -2,6 +2,23 @@
 # Make sure that `mv file unwritable-file' prompts the user
 # and that `mv -f file unwritable-file' doesn't.
 
+# Copyright (C) 2001, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 8de127c380d512d1188dffae651aa27a9dd39b03..7d547a1bdab2a2c1ac59a8a02844895a83425778 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure `mv -i a b' does its job with a positive response
 
+# Copyright (C) 2001, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 43e404ee0d729179b3ddcac43d23d72baddfb966..70208317d086cb85d414e005c4580bc33f12879e 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Show that mv doesn't preserve links to files the user has declined to move.
 
+# Copyright (C) 2002, 2004, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index d6120aed763e64847ec8fe7e2222300cc338d73d..69f0e5d18f0eaabdb03a831b9f966130327c6050 100755 (executable)
@@ -1,6 +1,23 @@
 #! /bin/sh
 # Demonstrate how mv fails when it tries to move a directory into itself.
 
+# Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 7c8a3404c811065b6a80d6b89bce4dcbbd057929..f5b7f74f8e65894de6c4a8ca4ab6a816d1444880 100755 (executable)
@@ -3,6 +3,23 @@
 # Consider the case where SRC and DEST are on different
 # partitions and DEST is a symlink to SRC.
 
+# Copyright (C) 1998, 1999, 200 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 8641468efbd1f79550fe3591f05850ef251bb7de..6b08d310500d8d974e2df14db8847903b537fcfa 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # move a directory into itself, with a twist
 
+# Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 6aaf35d86e95b4d950f2efce1585d92a544ea327..4c94f20d93df951f4ba48cb4dba1b6258a7229b1 100755 (executable)
@@ -2,6 +2,23 @@
 # confirm that `mv symlink symlink' doesn't remove symlink
 # Based on an example from David Luyer.
 
+# Copyright (C) 2001, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 6e6e405db2413b91d5cb93685e7299f46d206088..347aacfd951b5a6e5e40360eff0bf74af0246d75 100755 (executable)
@@ -2,6 +2,24 @@
 # Exercise mv's file-descriptor-leak bug, reported against coreutils-5.2.1
 # and fixed (properly) on 2004-10-21.
 
+# Copyright (C) 2004, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+
 # This test is relatively expensive, and might well evoke a
 # framework-failure on systems with a smaller command-line length
 # limit so don't run it by default.
index 894d3562cc2848c2ff3cc0135eb5253a93e2660e..b4b42c5c6bde375dab6abd29f0a45d296d856a3d 100755 (executable)
@@ -1,4 +1,23 @@
 #! /bin/sh
+# Test "mv" with special files.
+
+# Copyright (C) 1998, 1999, 2000, 2002, 2004, 2005 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 if test "$VERBOSE" = yes; then
   set -x
index d9c5ff9b4ca0576a57b2e068bfc09dcc7a4c497f..36c2e0e867518e83ae1703031a9fa15fb4c6ad4c 100755 (executable)
@@ -2,6 +2,23 @@
 # ensure that --no-target-directory (-T) works when the destination is
 # an empty directory.
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 326d5bc1f4e87126055309b897a81a1339062668..c4aae78e4459707e6bb41c770c657e8182168770 100755 (executable)
@@ -4,6 +4,23 @@
 # This is a bit fragile since it relies on the string used
 # for EPERM: `permission denied'.
 
+# Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index dc845c94e0f82f8d134c46986ec9d7ca4abb6936..9fb6c00cd8b9a043c05331edf49d1a98eae7664f 100755 (executable)
@@ -4,6 +4,23 @@
 # For additional constraints, see the comment in copy.c.
 # Before coreutils-5.2.1, this test would fail.
 
+# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index f8a142589e2f85fe75275445f75b175da091fe27..50df1c265da6d929fb7eb093a13ebc1c0d1ecdf4 100755 (executable)
@@ -3,6 +3,23 @@
 # another, and giving it a different name at the destination would cause mv
 # to get a failed assertion.
 
+# Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index b7dbfe67f1425720c232f0440d9149cc59d069ea..c7c6132efb70296d7d838644e3cfab7141e667f6 100755 (executable)
@@ -2,6 +2,23 @@
 # make sure cp and mv can handle many combinations of local and
 # other-partition regular/symlink'd files.
 
+# Copyright (C) 2000, 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 768436628ebd12e03cef9b4ebd5824d24b3686df..cf68aabd4d7f509640c8b7342bb17df7d77f390a 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Make sure permissions are preserved when moving from one partition to another.
 
+# Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index d7afc5f4c626f25ecb7385fd44189ce82358d45a..d1b5276b8ee12eb9ab5d40a662eadc1770e6f264 100755 (executable)
@@ -2,6 +2,23 @@
 # ensure that mv gives one diagnostic, not two, when failing
 # due to lack of permissions
 
+# Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 7ac7f996c08154693e1f220e00394a7515ac46c5..ba45cc056daedc6be8e63e1bd72bbca1dfccccd3 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Ensure that `mv --reply=no f1 f2' works.
 
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index 60d834463df7ece1eecbce4ed51270ce0ff372eb..0886437aac1abfd3248fca49cbc45bcfaabc46dc 100755 (executable)
@@ -4,6 +4,23 @@
 # of the current directory.  If one is found, create a temporary directory
 # inside it.
 
+# Copyright (C) 1998, 1999, 2001, 2002, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 test "${CANDIDATE_TMP_DIRS+set}" = set \
   || CANDIDATE_TMP_DIRS="$TMPDIR /tmp /var/tmp /usr/tmp $HOME"
 
index 354a10763d7975aa51bf2afc67e010f21047abf9..864fef6c7151869248784df0141ba425cefda26e 100755 (executable)
@@ -2,6 +2,23 @@
 # Make sure that the copying code used in an inter-partition
 # move unlinks a destination symlink before opening it.
 
+# Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index a81d178a86321f41a6858b9f4fd159b0736b6de2..19343b122644bc2275171d4fed2dd86e30f17ce2 100755 (executable)
@@ -2,6 +2,23 @@
 # On some operating systems, e.g. SunOS-4.1.1_U1 on sun3x,
 # rename() doesn't accept trailing slashes.
 
+# Copyright (C) 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   mv --version
index ba6f8276cbcc9b30f9e54086eff9b14d2339fd16..78bb7d2f82b95ff7048e6744297907060baa54f5 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure --update works as advertised
 
+# Copyright (C) 2001, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   cp --version
index 3bcbaa7244351747e8fd86fd3aaf3e380ee0c339..20b10e26e69f911289a1bdea2aa043d42ff8d105 100644 (file)
@@ -2,6 +2,23 @@
 # This is just for the record.
 # This test is not run.
 
+# Copyright (C) 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 exit 0
 
 cat <<\EOF
index cd6fae67137934a3ca5c76dd89ef22b001603cdb..7c5684525396aff1b4d924c1e79ceee40b2c3bbe 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Verify that `od -N N' reads no more than N bytes of input.
 
+# Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   od --version
index cdb536fa5f9548515bbf47f2fbe3cff703d62645..6b971994aca9f8fdbbf1c5e08440cad5a4ed34a8 100755 (executable)
@@ -2,6 +2,23 @@
 # verify that od -t x8 works properly
 # This would fail before coreutils-4.5.2.
 
+# Copyright (C) 2002, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   od --version
index c253a36f9aa55d069fc637469c320e7a73677b2c..9b0e841ea33b480556fd91e1faa846e6c5a3426c 100644 (file)
@@ -1,3 +1,23 @@
+# Make coreutils tests for "pr".                       -*-Makefile-*-
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+# 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 ## Process this file with automake to produce Makefile.in -*-Makefile-*-.
 
 ##test-files-begin
index 7aba45d4259a640c015736161fda771d415dcfb1..c1fc49ab81f3abe703a7233f0089a0e9e2768c7a 100644 (file)
@@ -1,4 +1,23 @@
 # -*-perl-*-
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005
+# Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 package Test;
 require 5.002;
 use strict;
index 6de80fe50ee0cec61eda64c3517f3715abbf7da0..b0d6c92b9d9852492ca3d8e534787cd05192142e 100644 (file)
@@ -2,6 +2,23 @@
 # Source this file at the beginning of a test that works
 # only when run as root or as non-root.
 
+# Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 case "$PRIV_CHECK_ARG" in
   require-root) who='as root';;
   require-non-root) who='by an unprivileged user';;
index 7d2eb43c008bc17ccf12f167c0f115fb9932620e..9cb3d475c76c39b43a051c2fdea60b042940fd86 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # tests for canonicalize-existing mode (readlink -e).
 
+# Copyright (C) 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   readlink --version
index d71626df448755620b556c45e448c9033388833e..03b54f4b0e851578f601e0f2f7a202bf0f116e64 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # tests for canonicalize mode (readlink -f).
 
+# Copyright (C) 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   readlink --version
index 757e3bcb63b887be407da8cc6f053d13a32effcf..af59e5bdedd74e2e50c98a52a9a594e205883fa2 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # tests for canonicalize-missing mode (readlink -m).
 
+# Copyright (C) 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   readlink --version
index 6ebbe923e292d78d076f1b4e1d8924854931dcd8..eec0d91ff7ae011099c861f3fd5cc985575efe93 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # test for readlink mode.
 
+# Copyright (C) 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   readlink --version
index 4a5e836dce4e9131b8414b5398eef1857ef27ff0..4b5c3e85aa85f96fe678dc38e89f51ee25a2283d 100644 (file)
@@ -1,4 +1,23 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for "rm".                       -*-Makefile-*-
+
+# Copyright (C) 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+# Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 AUTOMAKE_OPTIONS = 1.1 gnits
 
 TESTS = \
index b021c5707994d9291c91eaf155544303332a7a09..f77f90df9e7137744d9cf4fffa0efdbdd8107b0e 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # rm (coreutils-4.5.4) could be tricked into mistakenly reporting a cycle.
 
+# Copyright (C) 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index 1072776cb5b0ff53495741aecc7ffe9020fa8d10..388ca1d074e3f7f36f3c13f39c55df60c5eef9b7 100755 (executable)
@@ -4,6 +4,23 @@
 # But for fileutils-4.1.9, it would do the former and
 # for fileutils-4.1.10 the latter.
 
+# Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index b1cb5928d4d7ef0618a0046570c8164637279e3b..b5ae89754e1d0dc4dc17408668f433633b53f7f6 100755 (executable)
@@ -1,4 +1,23 @@
 #!/bin/sh
+# Test "rm" with a deep hierarchy.
+
+# Copyright (C) 1997, 2002, 2003, 2004, 2006 Free Software Foundation,
+# Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 # This is a bit of a torture test for mkdir -p, too.
 # GNU rm performs *much* better on systems that have a d_type member
index 39e508e5e9eafb5f3922000e04185d19d790cea4..6dd04aa3e88e842b9b1fa440c20b1221ca33db6b 100755 (executable)
@@ -2,6 +2,23 @@
 # rm (without -r) must give a diagnostic for any directory.
 # It must not prompt, even if that directory is unwritable.
 
+# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index eaacdb36864b7fefeda9d5bb6ddad5c562d1df8f..fd10ba936275ef7f801e390f1685f8507359d46a 100755 (executable)
@@ -2,6 +2,23 @@
 # Ensure that `rm dir' (i.e., without --recursive) gives a reasonable
 # diagnostic when failing.
 
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index 91a41e663d486de050100e419ea5486c5c2da12f..41bea4aaa81bb71961bc2c8da2fd0d3e620cebec 100755 (executable)
@@ -2,6 +2,23 @@
 # Use rm -r to remove two non-empty dot-relative directories.
 # This would have failed between 2004-10-18 and 2004-10-21.
 
+# Copyright (C) 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index 6c009759fd19f17cbcb9c8bcb1e9abc77cad1a78..5db86ad429a284f7559227766ecc45a4d4f4e6ce 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Ensure that rm -rf removes an empty-and-inaccessible directory.
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index 90caa2671253a763e910722002787a6f6ef53008..e24a722ff4a9ee48a89783d2fc4feefe965fca0c 100755 (executable)
@@ -1,5 +1,24 @@
 #!/bin/sh
 # Make sure that rm -r '' fails.
+
+# Copyright (C) 1998, 2003, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+
 # On SunOS 4.1.3, running rm -r '' in a nonempty directory may
 # actually remove files with names of entries in the current directory
 # but relative to `/' rather than relative to the current directory.
index 5c339a0d28e8807fea92ca88b3e297780be2f375..bdd41d7ec166dd2450fbcbf3a80bfd2c5b05f688 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test "rm -f" with a nonexistent file.
+
+# Copyright (C) 1997, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 test=f-1
 
index 7ee0e2a14761d4191ca7611c9d3cb8dcf6e7ce0d..d537473748cfcae1521bb793cfa283a468019258 100755 (executable)
@@ -2,6 +2,23 @@
 # Like fail-eperm, but the failure must be for a file encountered
 # while trying to remove the containing directory with the sticky bit set.
 
+# Copyright (C) 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index 22dd1f728346c483bd9c4174cc31911e26014277..d3bfd42c884d3f60ae5f97f024eacd964e24b940 100755 (executable)
@@ -3,6 +3,23 @@
 # Ensure that rm gives the expected diagnostic when failing to remove a file
 # owned by some other user in a directory with the sticky bit set.
 
+# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index 8e7f8ce86f1edfab26a8724359b41a419dbb2b36..a07a2b1d06a1dfee377d9325cfe55a6b7cf86ca2 100755 (executable)
@@ -3,6 +3,23 @@
 # Before then, rm would fail occasionally, sometimes via
 # a failed assertion, others with a seg fault.
 
+# Copyright (C) 2000, 2002, 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 . $srcdir/../expensive
 
 if test "$VERBOSE" = yes; then
index 7d3ac1e1b32843748fd1feaebbc87266f552fe1c..0e606a2abca14ffecfef19b6b5015ca263fa4c77 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test "rm -i".
+
+# Copyright (C) 1997, 1998, 2002, 2004, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 test=i-1
 
index 57733c8fd11f3ef6bd11b667709a7ca039f4eedb..c0a0a8104a2349db9c7e51da84945342584e4f0b 100755 (executable)
@@ -3,6 +3,23 @@
 # recurse into directory DIR.  rm -i (without -r) must fail in that case.
 # Fixed in coreutils-4.5.2.
 
+# Copyright (C) 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index 79d691676d51fc7dda4978542f8e680cf8e1d755..37c86b318a7bac0d1a69a1c46eb58ee7d0d394fb 100755 (executable)
@@ -2,6 +2,23 @@
 # Ensure that rm works even when run from a directory
 # for which the user has no access at all.
 
+# Copyright (C) 2004, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index ca8f3826282cf17bafb6bc4f8c65e5c9826debf3..6dc6231612a18d57b2a8f693a3f4a5242ef37149 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Test the --interactive[=WHEN] changes added to coreutils 6.0
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 test=interactive-always
 
 if test "$VERBOSE" = yes; then
index 4d55337fecf6702181437ade9d2501b6d8c344c9..9643eff90ad6eb35e157b6b096c95b4ae4789395 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Test the -I option added to coreutils 6.0
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 test=interactive-once
 
 if test "$VERBOSE" = yes; then
index e99c758957b5a7568beaa118cd14a4d59b9d74d3..4a84ecdf085cbd22b60f6dbbffac2ead162b116c 100755 (executable)
@@ -1,4 +1,23 @@
 #!/bin/sh
+# Test "rm -ir".
+
+# Copyright (C) 1997, 1998, 2002, 2004, 2006 Free Software Foundation,
+# Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 test=ir-1
 
index 6985860ebeb4a316380921d67a3855f54fee1294..488788a5e01efe9356672599bd62042d8a4cd0f8 100755 (executable)
@@ -1,6 +1,24 @@
 #!/bin/sh
 # Make sure `chown 0 f; rm f' prompts before removing f.
 
+# Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation,
+# Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index df26acb14bb7f21980ee8d87c9393e6a92d7b1d7..cabfc8840149b0ef2ec9bc729c105fa3c0c59020 100755 (executable)
@@ -2,6 +2,23 @@
 # With rm from coreutils-5.2.1 and earlier, `rm -r' would mistakenly
 # give up too early under some conditions.
 
+# Copyright (C) 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index 30d37b87225f2b8a2ee602df77bab9e6682165db..6c03454c2605a0a20dc216ef03bddffe398f07cf 100755 (executable)
@@ -1,4 +1,23 @@
 #!/bin/sh
+# Test "rm -r --verbose".
+
+# Copyright (C) 1997, 1998, 2000, 2002, 2004, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 test=r-1
 
index 1273664711b4e1fdce0349830d151565bba9ba03..5064413f6339fe58db56261af2b60a9ac5349020 100755 (executable)
@@ -1,4 +1,23 @@
 #!/bin/sh
+# Test "rm -r --verbose".
+
+# Copyright (C) 1997, 1998, 2000, 2002, 2004, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 if test "$VERBOSE" = yes; then
   rm --version
index debc80228ef874492da1de83f516a0a343283ec3..0bd6c4f855efb977a00a1c0b1a10bf6b4c4b1e4f 100755 (executable)
@@ -1,5 +1,25 @@
 #!/bin/sh
 # Create and remove a directory with more than 254 files.
+
+# Copyright (C) 1997, 2001, 2002, 2003, 2004 Free Software Foundation,
+# Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+
 # An early version of my rewritten rm failed to remove all of
 # the files on SunOS4 when there were 254 or more in a directory.
 
index 397f4e8653ea22dbc28b9271f93502a5cdd15d2b..3a73b0a35291e548c9eb068619ec0a6cb222efdf 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # exercise another small part of remove.c
 
+# Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index 00ea855b75bc50f2489ed69e3ff8e53cd4f5a872..7fd5c1716d04f1f0f83b08759a107e729ac3f7d1 100755 (executable)
@@ -1,6 +1,24 @@
 #!/bin/sh
 # exercise another small part of remove.c
 
+# Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+# Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index f27fd6cf5ea7e0395c6451813b3dd94078970288..a4c7b68d7373132336cd88016869793c1b90fc69 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # exercise another small part of remove.c
 
+# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index 28af0d9d9f59abd8b26a5d237bc4662633e2d680..434ab2d8d1a5aeabb3bdab650cee94b8c3d86d0b 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # ensure that `rm dir' fails without --recursive
 
+# Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index 7868e903ab10d2fc0b49bad6a0d57b6d10eac67c..a08f93f138f2573a0c56f14d0f52dfed68d04f91 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # a basic test of rm -ri
 
+# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index c54a6db5d4cae974c7912509190367c771cc7d26..abee7a18cb227645687ff3be5a8f6a54fef364c5 100755 (executable)
@@ -1,5 +1,24 @@
 #!/bin/sh
 # Make sure that rm -r '' fails.
+
+# Copyright (C) 1997, 1998, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+
 # On SunOS 4.1.3, running rm -r '' in a nonempty directory may
 # actually remove files with names of entries in the current directory
 # but relative to `/' rather than relative to the current directory.
index 55c74ff6941afbcbba014cbd8d5b0c000444432a..403a89198b82435fe3a526d81ee07bc7a8bd8b04 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # exercise one small part of remove.c
 
+# Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index d42ffe00d88481e136cd5829ad5b565a704fb984..3d359a7706e34e115f451ba70eba2a1e7bc69739 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Ensure that rm works even from an unreadable working directory.
 
+# Copyright (C) 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rm --version
index a748da422dd05229dfd1c448931673cf26308abb..ca24deb86a10584ade86fb16777ec6e6be65c385 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test "rm" and unreadable directories.
+
+# Copyright (C) 1998, 2003, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 3b89417f1b27fd5dde0ab01610ee16ebf9b0056e..2fa83cedafb375e6b029b9016c0ce7bb2ed88bdd 100755 (executable)
@@ -2,6 +2,23 @@
 # For unwritable directory `d', `rmdir -p d d/e/f' would emit
 # diagnostics but would not fail.  Fixed in 5.1.2.
 
+# Copyright (C) 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rmdir --version
index 507f32024e71a84560c73501b9ff227010d65335..ba6db028af933b84acfe755c46507e02cfb7e887 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure rmdir's --ignore-fail-on-non-empty option works
 
+# Copyright (C) 1999 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rmdir --version
index bc67c846b764941e45a7dd16bf00ae0b6e2a31d4..7bcd91eed11c33d3cf8ffc62c7746c7d02756017 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure rmdir -p works on a directory specified with a trailing slash
 
+# Copyright (C) 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   rmdir --version
index e58b73d40d6c743b51a2927af845c0f40f1c3469..fbeb6702a6a9f36c18bf08a0390c20aff3977ddf 100755 (executable)
@@ -3,6 +3,23 @@
 # to the equivalent chmod --mode (-m) argument, (=,u=rwx,g=r,o=x and
 # =,u=rw,g=rx,o=wx).  Ignore ACLs.
 
+# Copyright (C) 2000, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 case $# in
   1) rwx=$1;;
   *) echo "$0: wrong number of arguments" 1>&2
index 7552fb410324c69b1e7fbbf4f6a16efa33840c98..ac100f2946f581b77169cbb0ad3f520ae917d4a2 100644 (file)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # FIXME
 
+# Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   FIXME --version
index 85ec38462e4a28b6d02eeb66341bc246906569f7..bca9f5258acb1f98e14af343c47ad7187bde5eb0 100755 (executable)
@@ -1,5 +1,23 @@
 #!/bin/sh
 # -*- perl -*-
+# Test "seq".
+
+# Copyright (C) 1999, 2000, 2003, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 21547d78a1c7605417e0e65a8316be7748f9b356..adeefb6640e123225450b28739e8d5b836bfc328 100644 (file)
@@ -2,6 +2,23 @@
 # Disable the current test if the working directory seems to have
 # the setgid bit set.
 
+# Copyright (C) 2000, 2002, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 # This test should be run in the temporary directory that ends
 # up being removed via the trap commands.
 
index d9a9206c9fb7d5134d8c75a6bc4a102062516145..35562bd4ad03902186765e606cfcb8a85928cb4a 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test "sha1sum".
+
+# Copyright (C) 2000, 2003, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index fafbd247b08593ab9ef02f74081801d632b1aa30..86dfd4b5a82a03b5e279b285f2d7b307b6e8e003 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Sample vectors for "sha1sum".
+
+# Copyright (C) 2000, 2001, 2003, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 6ed1ca5dbf6f634d795514a27f1157bc08ac9025..bef320584f3dfe5a6617acad174994866a0fff56 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure that neither --exact nor --zero gobbles a command line argument
 
+# Copyright (C) 2000, 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   shred --version
index 32a53f94168d5142b9fb3a7d7b2faeb988fb3970..be6cf173e6ad8505d4ec60acaaf4a82b739a0885 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Exercise a bug that was fixed in shred-4.0l
 
+# Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   shred --version
index 559c088cd580c5c2184854707edc4e9165c3439b..3bd8f1603ba701994ba20935344125e2158fb56d 100644 (file)
@@ -1,3 +1,20 @@
+# Copyright (C) 1997 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 N = 1000000
 
 dot30 = ..............................
index d45862226db67fda5dbec1f4988f076313cdd38d..14b7e21191428c9311e6444611d001eece7b98c9 100644 (file)
@@ -1,4 +1,23 @@
 # determine whether it's worthwhile to add a --line-length=N option to sort.
+
+# Copyright (C) 1997 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+
 # Add the option and perform this test:
 #
 # Test method:
index f4f110b41df465cb0fe49cc72c4de8a13b6dac3e..d0bab646fceda7a2c02f41840039086e71a3701f 100755 (executable)
@@ -3,6 +3,24 @@
 # Each value is in the range [0,1).
 # Usage: rand n
 
+# Copyright (C) 1997 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+
 # Use only the basename from the path to this executable in error messages.
 ($program_name = $0) =~ s|.*/||;
 
index 1c88ef9ddd24b4f17bfdc3af78432b23d19cb134..c117ae114cdd7d6e6de9d62a9b15d80ecd180b00 100644 (file)
@@ -1,4 +1,22 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for "sort".             -*-Makefile-*-
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
+# 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 ##test-files-begin
 x = sort
index 2f2202da08928e8e84e97f7e81fd0e5ad4d4e347..fbc6c49d0857589a69f1fb4ee5b74ac0b54405b4 100755 (executable)
@@ -1,4 +1,24 @@
 # -*-perl-*-
+# Test "sort".
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
+# 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 package Test;
 require 5.002;
 use strict;
index 8cdc4599410a5b45eae9b2e1aa87e63aded2ce30..5af1ab34f0a6eee239419067b9dd574431ec69e7 100755 (executable)
@@ -1,6 +1,24 @@
 #! /bin/sh
 # Make sure stty can parse most of its options.
 
+# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006 Free
+# Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   stty --version
index f4b37dfdadd4edbe0e155ca4d37629f7a2f7b194..926579b1b657920e904e0af0499318f0a6cd0f76 100755 (executable)
@@ -1,4 +1,25 @@
 #! /bin/sh
+# Test "stty" with rows and columns.
+
+# Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006 Free
+# Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+
 # This script takes no arguments.
 
 if test "$VERBOSE" = yes; then
index c42d4ddf4aa20465cc1157e1b49fd9aabd44f9b3..2f5b2e12bcf0b25ea330c3d3237168adcf26927c 100755 (executable)
@@ -1,4 +1,22 @@
 #!/bin/sh
+# Test "sum".
+
+# Copyright (C) 2000, 2003, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 4c901424595ef0fc6602dd7c71a28fbd31e9d879..bdd317ab06cb99ee3fb9325c90929891e77b5054 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure `sum -s' works for input whose sum of bytes is larger than 2^32
 
+# Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   sum --version
index 40b3d10d15b019cad2ca5b27735dee16ced9b2d5..c98266d8cca973a3329ea3d49b005ef07afd1897 100644 (file)
@@ -1,4 +1,22 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for "tac".                      -*-Makefile-*-
+
+# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 ##test-files-begin
 x = tac
index cf5ca92ca97888b0ecfc199d18060dba16e4fc97..8e46b46161c625855352e3947846d1c9b5827b23 100644 (file)
@@ -1,3 +1,22 @@
+# Test "tac".
+
+# Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 package Test;
 require 5.002;
 use strict;
index 1a58c75ef71e66843074280d458e25dcb5d85c80..df0dd20f97bd0eaad27ad9cdf9e36e76302d6145 100644 (file)
@@ -1,4 +1,22 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for "tail".                     -*-Makefile-*-
+
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 EXTRA_DIST = $(TESTS)
 
index 591e9edf98825773304d44de5deeca3e565276d4..f5dcb17cdcf953afe5d10b38246be8aca45fa3e4 100755 (executable)
@@ -2,6 +2,23 @@
 # Ensure that tail -f works on an append-only file
 # Requires root access to do chattr +a, as well as an ext[23] or xfs file system
 
+# Copyright (C) 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   tail --version
index a837798f3d3f12cb4a052d32fabd42de9e4a5289..4d46904fdaa25a31b7c82d28b37b94f376d4af95 100755 (executable)
@@ -1,4 +1,24 @@
 #!/bin/sh
+# Test for assertion failure in "test".
+
+# Copyright (C) 1999, 2000, 2004, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+
 # This test fails with tail from textutils-2.0.
 # It would get something like this:
 #   tail: tail.c:718: recheck: Assertion `valid_file_spec (f)' failed.
index c036e2619160b757b07d8a66d4f29ae47749804e..10f3f19611041cf6e48d80f8ce61938eac6b2645 100755 (executable)
@@ -3,6 +3,23 @@
 # Due to a race condition in the test, the `assert' script would get
 # the UMR on Solaris only some of the time, and not at all on Linux/GNU.
 
+# Copyright (C) 2000 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   tail --version
index 9b53f79896f7779cb222ad9ccfb52b4a7660a596..5f94cb68f1b429e5c033e921725cad2790247864 100755 (executable)
@@ -2,6 +2,23 @@
 # Demonstrate a bug in `tail -cN' when operating on files of size 4G and larger
 # Fixed in coreutils-4.5.2.
 
+# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 . $srcdir/../expensive
 
 if test "$VERBOSE" = yes; then
index dd630c5a77b0736cfdc08a74911832738f197b8b..e78de66e8d800b7d5b36ad230b1dfdd5073f15c3 100755 (executable)
@@ -3,6 +3,24 @@
 # The problem was that using the solaris5.7 setvbuf function to turn off
 # buffering doesn't flush stdout.
 
+# Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+
 # FIXME: actually, I couldn't find a way to write the test (without resorting
 # to use of expect) so that it would provoke the failure on solaris5.7.
 # To exercise the bug, cat's stdout seems to have to be directed
index a540a645b8862e60f60c5239dc1038c398921621..ff6e712bf8414225f137c25b4a9fce0209af79a3 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # This test would fail with tail from pre-1.22i textutils.
 
+# Copyright (C) 1999, 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   tail --version
index 52e2a6fc3a7bc0e333c1d7964444748b1edde21c..6a035f78c6dd41864b4a1c300f198605c00788b7 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Prior to textutils-2.0.17, `tail /proc/ksyms' would segfault on Linux.
 
+# Copyright (C) 2001, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   tail --version
index 4dbe18900f526082affe98457b7405cde3890de1..3d3dd10da44a3b3c9d5c7cc72859de488e3124f1 100755 (executable)
@@ -2,6 +2,23 @@
 # Verify that tail works even when it's reading from a file
 # that is not at its beginning.  Based on a report from John Roll.
 
+# Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   tail --version
index 3e78fb2ff6a93498eed70403f046e236585abfba..c5692dccc958643e99a267337ab979f99467aa45 100755 (executable)
@@ -1,6 +1,25 @@
 #!/bin/sh
 # Make sure that `tail -n0 -f' and `tail -c0 -f' sleep
 # rather than doing what amounted to a busy-wait.
+
+# Copyright (C) 2003 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+
 # This bug was fixed for 5.0.91
 # It skips the test if your system lacks a /proc/$pid/status
 # file, or if its contents don't look right.
index 8b67c9d8fd62e9246bd9622114e2143dc45e8632..4fc583665d48ab3437b4112f911a5fb522fc7c40 100644 (file)
@@ -1,4 +1,22 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for "tail".             -*-Makefile-*-
+
+# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 ##test-files-begin
 x = tail
index ee5fca05531d49407da767135272805665635b45..056f3aee071f5052fdb48d82cac359ba121407f8 100755 (executable)
@@ -1,3 +1,23 @@
+# Test "tail".
+
+# Copyright (C) 1997, 1998, 2002, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 package Test;
 require 5.002;
 use strict;
index 37dfc99d07601170ed4d3b84943c70e07bf04827..2c2702bc8c48d66f5443a772386cf4c7d8168116 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # test for basic tee functionality.
 
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   tee --version
index cc45f8694eff15b31191d8cd5799c41acf292b37..6be774d4ae90500f7cc03d6a0fcd159a594d995f 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # test for "tee -".
 
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   tee --version
index 8e5edf3cb0ba0fd61e3011f9bf95a2e1b48884fb..2b05958c08393b4f69c90b6c4f6fc722343cf661 100644 (file)
@@ -1,4 +1,22 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for "test".             -*-Makefile-*-
+
+# Copyright (C) 1998, 2000, 2003, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 ##test-files-begin
 x = test
index b1fd54e8052be1d906d4940cc2e15644320b53eb..865fc4816707b0d6db0c703d729df1eaf930b688 100644 (file)
@@ -1,3 +1,22 @@
+# Test "test".
+
+# Copyright (C) 1998, 2003, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 # -*-perl-*-
 package Test;
 require 5.002;
index 3c5900fa0f2dc3c7aa5f47a299f5f855f7b7d081..6a755474609efe6c8840bfb02485e24e3e10d105 100644 (file)
@@ -1,4 +1,23 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for "touch".            -*-Makefile-*-
+
+# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+# Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 AUTOMAKE_OPTIONS = 1.3 gnits
 
 TESTS = \
index b61beb4bba8e691a22df88112bac50840cd824d0..2f43902113953d3ec72639bfc9f0237bd89ee646 100755 (executable)
@@ -2,6 +2,23 @@
 # Make sure touch can create a file through a dangling symlink.
 # This was broken in the 4.0[e-i] test releases.
 
+# Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   touch --version
index c9092b258930a2b6c618b01e6f94bbd37a74b4c4..22d857ee120a5f7ab6fc3edc9b8c0f27afa84957 100755 (executable)
@@ -1,5 +1,24 @@
 #!/bin/sh
 # Make sure touch can set the mtime on an empty file.
+
+# Copyright (C) 1998, 1999, 2000, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+
 # Volker Borchert reported that touch 3.16r (and presumably all before that)
 # fails to work on SunOS 4.1.3 with `most of the recommended patches' when
 # the empty file is on an NFS-mounted 4.2 volume.
index f6dba8ee31d3e100f88a4dda87fe174af617b529..50b19d41d1ebe452b83d58a0fabeb060261655d1 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # make sure touch gives reasonable diagnostics
 
+# Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   touch --version
index 27071fbfec68d1403a24dc43e2c5d4f68d55136c..dc33c0f2851a254840859a6af3dece875ef1d36c 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Make sure touch works on fifos without hanging.
 
+# Copyright (C) 2000 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   touch --version
index 781b5a951a11f67c6a2a619e22f9f9923b258b7d..cdba337e99f55ac3cfe6f70e1b6fdbac66bd4b6f 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Ensure that touch -c no-such-file no longer fails (it did in 4.1.8).
 
+# Copyright (C) 2002, 2004, 2005, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   touch --version
index cf0a922674df15504978b1f4e7ea62d9c4470499..0d9e3bd86ec37a6b797e5772700baa2d5b4f2f7e 100755 (executable)
@@ -2,6 +2,23 @@
 # Make sure touch can update the times on a file that is neither
 # readable nor writable.
 
+# Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   touch --version
index 1002c0cd902a8c610809620ebf3bf257de6ec226..59282caef5d23b38bd94240994343042ec62612f 100755 (executable)
@@ -2,6 +2,23 @@
 # Make sure that touch gives reasonable diagnostics when applied
 # to an unwritable directory owned by some other user.
 
+# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   touch --version
index 98dfdd742a8f77c1505c3ea9912206500fe52b50..000ccf558b3e5028634aabdfce8ca50d25b88b7f 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # Test touch with obsolescent 8- or 10-digit time stamps.
 
+# Copyright (C) 2000, 2004, 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 _POSIX2_VERSION=199209; export _POSIX2_VERSION
 POSIXLY_CORRECT=1; export POSIXLY_CORRECT
 
index 11516d3c8561e3dec8ef129dd14dead2609f2379..de59f0762cf4c90b9d076efa1bfa79908cb56f0f 100755 (executable)
@@ -1,6 +1,23 @@
 #!/bin/sh
 # ensure that touch can operate on read-only files
 
+# Copyright (C) 2005 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   touch --version
index d996cd455d289a93806eaae50e2b63db319056ed..35d1d4d463c829f0160d22445fbac70a065fd398 100755 (executable)
@@ -2,6 +2,23 @@
 # Demonstrate using a combination of --reference and --date to
 # set the time of a file back by an arbitrary amount.
 
+# Copyright (C) 2004 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 if test "$VERBOSE" = yes; then
   set -x
   touch --version
index 0498d7ab608c2af0bff322e8d8943b36f2c025b5..4bebd6130ce769d31a502952d84a0ebdc8d6fd18 100644 (file)
@@ -1,4 +1,22 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for "tr".               -*-Makefile-*-
+
+# Copyright (C) 1996, 1997, 1998, 2000, 2002, 2003, 2004, 2005, 2006
+# Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 ##test-files-begin
 x = tr
index b1fb423ff8c908ec594e6cf0f22b53b09af98b26..3475740e0d2a6ec908d8c811b27f871b991138f6 100755 (executable)
@@ -1,3 +1,23 @@
+# Test "tr".
+
+# Copyright (C) 1996, 1997, 2000, 2002, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 package Test;
 require 5.002;
 use strict;
index defc474ce23bb2ba94831f6d5c6cac9c435eb6cb..ab7d50f8c8f379c7d5ea950d31946679ad59514d 100644 (file)
@@ -1,3 +1,22 @@
+# "tr" failures.
+
+# Copyright (C) 1993, 1994, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 # ./tr a '[c*]b'
 # ./tr -s abc zy
 # ./tr abc zy
index f5287f2c3a75bffd4a4dfbc07353bc5d46139e7c..4fe24f328e332e5f92dada92a7c885c4fba7dc2a 100755 (executable)
@@ -1,5 +1,24 @@
 #!/bin/sh
 # -*- perl -*-
+# Test "tsort".
+
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 4f1dd17dc8bbe99cc2a5d56a57e17f745b05370c..3824d7c8b14b6bfd0e7fc5eb355c41f374035d18 100755 (executable)
@@ -1,4 +1,23 @@
 #!/bin/sh
+# Test "unexpand".
+
+# Copyright (C) 2000, 2003, 2004, 2005, 2006 Free Software Foundation,
+# Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 : ${PERL=perl}
 : ${srcdir=.}
index 052097d453c0a41aa49d77a62c6565cabae96c3a..73f23a149dd1203a61199a2e513ce6ebf75c97e7 100644 (file)
@@ -1,4 +1,22 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for "uniq".             -*-Makefile-*-
+
+# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+# Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 ##test-files-begin
 x = uniq
index 259b16c3728530d83e6806ad899ffc60f867cea0..26dd1e0eef66300c0d5097110ad5a59a988353ca 100644 (file)
@@ -1,3 +1,23 @@
+# Test "uniq".
+
+# Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006 Free
+# Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 package Test;
 require 5.002;
 use strict;
index 312c1a8c4162f85542cc94d881a1bcad669ddee0..be6e680276fa9fb4e47e2af361228dea533d9c07 100644 (file)
@@ -1,4 +1,22 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+# Make coreutils tests for "wc".               -*-Makefile-*-
+
+# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 Free Software
+# Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 ##test-files-begin
 x = wc
index f73c30c2fd575cf0fbe3f4ef2ecfd9470ad3ad5c..3adbbba5f1cc51e6401b97200cb53297fd42e2c2 100755 (executable)
@@ -1,3 +1,22 @@
+# Test "wc".
+
+# Copyright (C) 1997, 2003, 2006 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 package Test;
 require 5.002;
 use strict;