diff options
author | Karel Zak | 2006-12-07 00:26:02 +0100 |
---|---|---|
committer | Karel Zak | 2006-12-07 00:26:02 +0100 |
commit | 0e6f4a203d8715710ff09683390be2897cca3804 (patch) | |
tree | 982a4e50be23b6c30245c61bfed170c592b34e41 /text-utils/more.c | |
parent | Imported from util-linux-2.11u tarball. (diff) | |
download | kernel-qcow2-util-linux-0e6f4a203d8715710ff09683390be2897cca3804.tar.gz kernel-qcow2-util-linux-0e6f4a203d8715710ff09683390be2897cca3804.tar.xz kernel-qcow2-util-linux-0e6f4a203d8715710ff09683390be2897cca3804.zip |
Imported from util-linux-2.11v tarball.
Diffstat (limited to 'text-utils/more.c')
-rw-r--r-- | text-utils/more.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/text-utils/more.c b/text-utils/more.c index 8a5640a43..452e4ff89 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -1311,11 +1311,10 @@ int command (char *filename, register FILE *f) xprintf ("\n"); if (clreol) cleareol (); - xprintf (_("...skipping %d line"), nlines); - if (nlines > 1) - pr ("s\n"); + if (nlines == 1) + xprintf (_("...skipping one line")); else - pr ("\n"); + xprintf (_("...skipping %d lines"), nlines); if (clreol) cleareol (); |