diff options
author | Paul Eggert <eggert@CS.UCLA.EDU> | 2007-07-03 11:36:43 -0700 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-07-04 12:45:10 +0200 |
commit | 36ce675bb4224a41adafd448f39020e70db14094 (patch) | |
tree | a95e48142c69019cc18183738749bfe6720e31b2 /m4 | |
parent | 519d7a95a3f8103925aa84f9bdef326ce88d37cc (diff) | |
download | coreutils-36ce675bb4224a41adafd448f39020e70db14094.tar.gz coreutils-36ce675bb4224a41adafd448f39020e70db14094.tar.bz2 coreutils-36ce675bb4224a41adafd448f39020e70db14094.zip |
pr -F no longer suppresses the footer or the first two blank header lines
Here's a patch along the lines of
<http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/10849/focus=10857>.
It's a bit large since it changes the test cases to match the behavior,
and the test cases' file names depend on the behavior!
* NEWS: pr -F no longer suppresses the footer or the first two blank
lines in the header.
* doc/coreutils.texi (pr invocation): Likewise. Also, a too-short
page length implies -t, not -T.
* src/pr.c (lines_per_header, lines_per_footer): Now constants.
(init_parameters): Don't try to change them.
(print_header): Use the same header and footer format regardless of
wither form feeds are being used.
(usage): Adjust to above change when describing too-short page length.
Too-short page length impliesy -t, not -T.
* tests/pr/2-S_f-t_notab: Adjust to the fact that -F now affects
only formfeed handling; it does not change the header.
* tests/pr/2-Sf-t_notab: Likewise.
...
* tests/pr/3-5l17f-t: Remove, since it's been renamed to another
file whose name has a line count 7 larger,
reflecting the new line count needed for this behavior.
* tests/pr/3a3l8f-t: Likewise.
...
* tests/pr/w72l24f-ll: Likewise.
Signed-off-by: Jim Meyering <jim@meyering.net>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/.gitignore | 259 |
1 files changed, 0 insertions, 259 deletions
diff --git a/m4/.gitignore b/m4/.gitignore deleted file mode 100644 index a10566a9e..000000000 --- a/m4/.gitignore +++ /dev/null @@ -1,259 +0,0 @@ -absolute-header.m4 -acl.m4 -alloca.m4 -argmatch.m4 -arpa_inet_h.m4 -assert.m4 -atexit.m4 -autobuild.m4 -backupfile.m4 -base64.m4 -bison.m4 -c-strtod.m4 -calloc.m4 -canon-host.m4 -canonicalize.m4 -chdir-long.m4 -chown.m4 -clock_time.m4 -cloexec.m4 -close-stream.m4 -closeout.m4 -codeset.m4 -config-h.m4 -cycle-check.m4 -d-ino.m4 -d-type.m4 -dirfd.m4 -dirname.m4 -dos.m4 -double-slash-root.m4 -dup2.m4 -eaccess.m4 -eealloc.m4 -eoverflow.m4 -error.m4 -euidaccess.m4 -exclude.m4 -exitfail.m4 -extensions.m4 -fchdir.m4 -fcntl-safer.m4 -fcntl_h.m4 -file-type.m4 -fileblocks.m4 -filemode.m4 -filenamecat.m4 -findprog.m4 -flexmember.m4 -float_h.m4 -fnmatch.m4 -fpending.m4 -fprintftime.m4 -free.m4 -fseeko.m4 -fstypename.m4 -fsusage.m4 -ftello.m4 -ftruncate.m4 -fts.m4 -getaddrinfo.m4 -getcwd-abort-bug.m4 -getcwd-path-max.m4 -getcwd.m4 -getdate.m4 -getdelim.m4 -getgroups.m4 -gethostname.m4 -gethrxtime.m4 -getline.m4 -getloadavg.m4 -getndelim2.m4 -getopt.m4 -getpagesize.m4 -getpass.m4 -gettext.m4 -gettime.m4 -gettimeofday.m4 -getugroups.m4 -getusershell.m4 -glibc21.m4 -gnulib-cache.m4 -gnulib-common.m4 -gnulib-comp.m4 -gnulib-tool.m4 -group-member.m4 -hard-locale.m4 -hash.m4 -host-os.m4 -human.m4 -i-ring.m4 -iconv.m4 -iconv_h.m4 -iconv_open.m4 -idcache.m4 -inet_ntop.m4 -inline.m4 -intl.m4 -intldir.m4 -intlmacosx.m4 -intmax.m4 -intmax_t.m4 -inttostr.m4 -inttypes-h.m4 -inttypes-pri.m4 -inttypes.m4 -inttypes_h.m4 -isapipe.m4 -jm-winsz1.m4 -jm-winsz2.m4 -lchmod.m4 -lchown.m4 -lib-ignore.m4 -lib-ld.m4 -lib-link.m4 -lib-prefix.m4 -link-follow.m4 -localcharset.m4 -long-options.m4 -longdouble.m4 -longlong.m4 -ls-mntd-fs.m4 -lseek.m4 -lstat.m4 -malloca.m4 -mbchar.m4 -mbiter.m4 -mbrtowc.m4 -mbscasecmp.m4 -mbstate_t.m4 -mbswidth.m4 -md5.m4 -memcasecmp.m4 -memchr.m4 -memcmp.m4 -memcoll.m4 -memcpy.m4 -memmove.m4 -mempcpy.m4 -memrchr.m4 -memset.m4 -mkancesdirs.m4 -mkdir-p.m4 -mkdir-slash.m4 -mkstemp.m4 -mktime.m4 -modechange.m4 -mountlist.m4 -mpsort.m4 -nanosleep.m4 -netinet_in_h.m4 -nls.m4 -openat.m4 -pathmax.m4 -perl.m4 -physmem.m4 -po.m4 -posixtm.m4 -posixver.m4 -printf-posix.m4 -progtest.m4 -putenv.m4 -quote.m4 -quotearg.m4 -readlink.m4 -readtokens.m4 -readutmp.m4 -regex.m4 -rename-dest-slash.m4 -rename.m4 -rmdir-errno.m4 -rmdir.m4 -root-dev-ino.m4 -rpmatch.m4 -safe-read.m4 -safe-write.m4 -same.m4 -save-cwd.m4 -savedir.m4 -savewd.m4 -selinux-context-h.m4 -selinux-selinux-h.m4 -setenv.m4 -settime.m4 -sha1.m4 -sig2str.m4 -signed.m4 -size_max.m4 -snprintf.m4 -socklen.m4 -sockpfaf.m4 -ssize_t.m4 -st_dm_mode.m4 -stat-macros.m4 -stat-time.m4 -stdarg.m4 -stdbool.m4 -stdint.m4 -stdint_h.m4 -stdio-safer.m4 -stdio_h.m4 -stdlib-safer.m4 -stdlib_h.m4 -stpcpy.m4 -strcase.m4 -strcspn.m4 -strdup.m4 -strftime.m4 -string_h.m4 -strndup.m4 -strnlen.m4 -strpbrk.m4 -strtod.m4 -strtoimax.m4 -strtol.m4 -strtoll.m4 -strtoul.m4 -strtoull.m4 -strtoumax.m4 -strverscmp.m4 -sys_socket_h.m4 -sys_stat_h.m4 -sys_time_h.m4 -tempname.m4 -time_h.m4 -time_r.m4 -timespec.m4 -tm_gmtoff.m4 -tzset.m4 -unicodeio.m4 -unistd-safer.m4 -unistd_h.m4 -unlink-busy.m4 -unlinkdir.m4 -unlocked-io.m4 -uptime.m4 -userspec.m4 -utimbuf.m4 -utime.m4 -utimecmp.m4 -utimens.m4 -utimes-null.m4 -utimes.m4 -vasnprintf.m4 -vasprintf.m4 -wchar.m4 -wchar_t.m4 -wctype.m4 -wcwidth.m4 -wint_t.m4 -write-any-file.m4 -xalloc.m4 -xgetcwd.m4 -xnanosleep.m4 -xreadlink.m4 -xsize.m4 -xstrndup.m4 -xstrtod.m4 -xstrtol.m4 -yesno.m4 |