summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-03-18 16:21:26 +0100
committerJim Meyering <jim@meyering.net>2007-03-18 16:21:26 +0100
commit553d347d3e08e00ee4f9df520b37c964c3f26e28 (patch)
tree189a05248c9fe5251a5bb5d32887125f19c70783 /src
parentb1d89070f620c8787a36d93d67b0431ca15fb1dc (diff)
downloadcoreutils-553d347d3e08e00ee4f9df520b37c964c3f26e28.tar.xz
Fix a bug in how pr -m -s works.
* NEWS: Describe how the fix affects pr. * src/pr.c (init_parameters): The --merge (-m) option does not imply --expand-tabs (-e), so don't set "untabify_input". Reported by Wis Macomson. * tests/misc/pr: New file. Test for the above fix. * tests/misc/Makefile.am (TESTS): Add pr. * THANKS: Update.
Diffstat (limited to 'src')
-rw-r--r--src/pr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pr.c b/src/pr.c
index bd694f49f..e0aea224e 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -1,5 +1,5 @@
/* pr -- convert text files for printing.
- Copyright (C) 88, 91, 1995-2006 Free Software Foundation, Inc.
+ Copyright (C) 88, 91, 1995-2007 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -1265,7 +1265,6 @@ init_parameters (int number_of_files)
col_sep_string = column_separator;
truncate_lines = true;
- untabify_input = true;
tabify_output = true;
}
else