Bug 119329 - [patch] Fix misleading man 1 split
Summary: [patch] Fix misleading man 1 split
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Tom Rhodes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-04 10:20 UTC by jhs
Modified: 2011-06-14 23:50 UTC (History)
0 users

See Also:


Attachments
file.diff (755 bytes, patch)
2008-01-04 10:20 UTC, jhs
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jhs 2008-01-04 10:20:00 UTC
	
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)

Fix: http://berklix.com/~jhs/src/bsd/fixes/freebsd/src/gen/usr.bin/split/split.1.REL=ALL.diff
How-To-Repeat: 	
	man split
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2008-01-04 11:18:06 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-doc

Move this over to docs.
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-01-24 05:32:26 UTC
Author: trhodes
Date: Sat Jan 24 05:32:11 2009
New Revision: 187663
URL: http://svn.freebsd.org/changeset/base/187663

Log:
  When "-b" is specified, one could easily create "smaller" files
  that are much larger than expected (given the default size).
  Change "smaller files" to "split files" which is more in line
  with what "-b" actually does.
  
  PR:		119329
  Submitted by:	Julian Stacey <jhs@berklix.org>

Modified:
  head/usr.bin/split/split.1

Modified: head/usr.bin/split/split.1
==============================================================================
--- head/usr.bin/split/split.1	Sat Jan 24 04:08:00 2009	(r187662)
+++ head/usr.bin/split/split.1	Sat Jan 24 05:32:11 2009	(r187663)
@@ -32,7 +32,7 @@
 .\"	@(#)split.1	8.3 (Berkeley) 4/16/94
 .\" $FreeBSD$
 .\"
-.Dd March 16, 2008
+.Dd January 23, 2009
 .Dt SPLIT 1
 .Os
 .Sh NAME
@@ -88,7 +88,7 @@ letters to form the suffix of the file n
 .Cm K | k | M | m | G | g
 .Sm on
 .Oc
-Create smaller files
+Create split files
 .Ar byte_count
 bytes in length.
 If
@@ -113,7 +113,7 @@ is appended to the number, the file is s
 .Ar byte_count
 gigabyte pieces.
 .It Fl l Ar line_count
-Create smaller files
+Create split files
 .Ar line_count
 lines in length.
 .It Fl n Ar chunk_count
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 3 Tom Rhodes freebsd_committer freebsd_triage 2009-01-24 05:33:04 UTC
State Changed
From-To: open->patched

Patch applied along with a doc bump date, thanks! 


Comment 4 Tom Rhodes freebsd_committer freebsd_triage 2009-01-24 05:33:04 UTC
Responsible Changed
From-To: freebsd-doc->trhodes

Over to me.
Comment 5 dfilter service freebsd_committer freebsd_triage 2011-06-14 23:40:28 UTC
Author: gjb (doc committer)
Date: Tue Jun 14 22:40:13 2011
New Revision: 223101
URL: http://svn.freebsd.org/changeset/base/223101

Log:
  MFC 187663 by trhodes:
  
  When "-b" is specified, one could easily create "smaller" files
  that are much larger than expected (given the default size).
  Change "smaller files" to "split files" which is more in line
  with what "-b" actually does.
  
  PR:		119329

Modified:
  stable/7/usr.bin/split/split.1
Directory Properties:
  stable/7/usr.bin/split/   (props changed)

Modified: stable/7/usr.bin/split/split.1
==============================================================================
--- stable/7/usr.bin/split/split.1	Tue Jun 14 22:37:09 2011	(r223100)
+++ stable/7/usr.bin/split/split.1	Tue Jun 14 22:40:13 2011	(r223101)
@@ -32,7 +32,7 @@
 .\"	@(#)split.1	8.3 (Berkeley) 4/16/94
 .\" $FreeBSD$
 .\"
-.Dd August 10, 2006
+.Dd January 23, 2009
 .Dt SPLIT 1
 .Os
 .Sh NAME
@@ -84,7 +84,7 @@ letters to form the suffix of the file n
 .Cm K | k | M | m | G | g
 .Sm on
 .Oc
-Create smaller files
+Create split files
 .Ar byte_count
 bytes in length.
 If
@@ -109,7 +109,7 @@ is appended to the number, the file is s
 .Ar byte_count
 gigabyte pieces.
 .It Fl l Ar line_count
-Create smaller files
+Create split files
 .Ar line_count
 lines in length.
 .It Fl p Ar pattern
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 6 Glen Barber freebsd_committer freebsd_triage 2011-06-14 23:41:11 UTC
State Changed
From-To: patched->closed

MFCd to stable/7.