coreutils
[Top][All Lists]
Advanced

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

Re: Split head.c into two files


From: Eric Blake
Subject: Re: Split head.c into two files
Date: Wed, 23 Feb 2011 13:18:19 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 02/23/2011 11:56 AM, Bjartur Thorlacius wrote:
> head.c is too complicated for a newbie to grasp at first glance. I
> suggest splitting the "all but last N lines" feature (head -n +$n)
> into a seperate source file, and preferably a seperate binary as well.

Thanks for the suggestion; however, I don't see any benefit to
performing such a split.  POSIX requires the head utility to do
everything, so splitting things into two apps would make head no longer
compliant, not to mention that the new app would not be installed on
many machines to begin with.  It's easier to keep everything
head-related in one file, like it has always been.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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