Date: Thu, 10 Oct 1996 14:51:18 -0700 (PDT) From: Archie Cobbs <archie@whistle.com> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/1755: more(1) generates garbage at end of file output Message-ID: <199610102151.OAA13534@bubba.whistle.com> Resent-Message-ID: <199610102200.PAA19364@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1755 >Category: bin >Synopsis: more(1) generates garbage at end of file output >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 10 15:00:02 PDT 1996 >Last-Modified: >Originator: Archie Cobbs <archie@whistle.com> >Organization: Whistle Communications, Inc. >Release: FreeBSD 2.2-960801-SNAP i386 >Environment: FreeBSD-2.2960801-SNAP >Description: Create a file "foo" with the following contents: 0000000: 73 6f 66 74 77 61 72 65 0d 0a 69 6e 74 65 72 6e software..intern 0000010: 61 6c 0d 0a 70 75 62 6c 69 63 0d 0a al..public.. Now if you say "more foo" you get extra garbage at the end of the output: $ cat foo software internal public $ more foo software internal public c $ send-pr Notice the carriage returns -- this seems to be what confuses more(1). >How-To-Repeat: Fully repeatable as described above >Fix: Use less(1) >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610102151.OAA13534>