bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestion for split.c


From: Paul Eggert
Subject: Re: Suggestion for split.c
Date: 07 Aug 2003 21:11:50 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

"Galbraith, Mark" <address@hidden> writes:

> My suggestion is to use an option like "-H n" (or other option
> letter as may be determined by the maintainer of split.c) to specify
> the number of rows that constitute the "Header" of the source file. 
> A maximum number of rows would be need to be determined.

No, the general GNU philosophy is that there should be no arbitrary limit.
Just xmalloc as much space as you need.

Some comments:

Shouldn't 'n' count bytes (not lines) if the -C or -b option is used?

I assume the operands of -b, -C, and -l include the output headers in
size calculations?  If so, what if the header size is greater than the
sizes indicated by those operands?

Is there a similar need for a file tail option?  If not, why not?

And last but not least -- is this functionality really appropriate for
a low-level bulk tool like 'split'?  One might argue that it's more
appropriate to write a Python or Perl script....


> Pointers to any list archives would be appreciated.

You can see previous posts at:

http://mail.gnu.org/archive/html/bug-coreutils/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]