Date: Fri, 4 Jan 2008 11:18:26 +0100 (CET) From: Julian Stacey <jhs@berklix.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/119329: Fix misleading man 1 split Message-ID: <200801041018.m04AIQcC001671@laps.js.berklix.net> Resent-Message-ID: <200801041020.m04AK0PI091221@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 119329 >Category: bin >Synopsis: Fix misleading man 1 split >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jan 04 10:20:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Julian Stacey <jhs@berklix.com> >Release: FreeBSD 6.2-RELEASE i386 >Organization: http://berklix.com >Environment: System: FreeBSD laps.js.berklix.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Wed Dec 5 22:11:04 CET 2007 jhs@laps.js.berklix.net:/usr1/ftp/pri/FreeBSD/releases/i386/6.2-RELEASE/686/src/sys/i386/compile/LAPS.small i386 >Description: The word "smaller" is misleading, as on first reading, one assumes -b will create smaller than default size, & only if one tries to specify eg -b 1000000 does one discover one can get "smaller" files of 1000000 that are larger than the default of ~70K (taking split /var/log/messages.0 as example) >How-To-Repeat: man split >Fix: http://berklix.com/~jhs/src/bsd/fixes/freebsd/src/gen/usr.bin/split/split.1.REL=ALL.diff *** FreeBSD-6.2-RELEASE/src/usr.bin/split/split.1.old Fri Jan 4 10:58:52 2008 --- new-generic/src/usr.bin/split/split.1 Fri Jan 4 10:59:33 2008 *************** *** 66,72 **** .Ar suffix_length letters to form the suffix of the file name. .It Fl b ! Create smaller files .Ar byte_count bytes in length. If --- 66,72 ---- .Ar suffix_length letters to form the suffix of the file name. .It Fl b ! Create split files .Ar byte_count bytes in length. If *************** *** 80,86 **** .Ar byte_count megabyte pieces. .It Fl l ! Create smaller files .Ar n lines in length. .It Fl p Ar pattern --- 80,86 ---- .Ar byte_count megabyte pieces. .It Fl l ! Create split files .Ar n lines in length. .It Fl p Ar pattern >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801041018.m04AIQcC001671>