From mboxrd@z Thu Jan 1 00:00:00 1970 From: Seewer Philippe Subject: Re: [PATCH] Get rid of cat and grep Date: Fri, 5 Jun 2009 20:11:00 +0200 Message-ID: <4A295FB4.6020306@bfh.ch> References: <4A2907E7.1080008@bfh.ch> <20090605155832.GH5107@nostromo.devel.redhat.com> <4A2941CD.1070709@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A2941CD.1070709-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Warren Togami Cc: Bill Nottingham , "" Warren Togami wrote: > On 06/05/2009 11:58 AM, Bill Nottingham wrote: >> Seewer Philippe (philippe.seewer-omB+W0Dpw2o@public.gmane.org) said: >>> cat and grep just bloat the initrd, this patch removes dependencies >>> on them. >> >> Are we really at a place where we're that worried about 100k? I'd >> rather not have to implement all of coreutils in shell where needed. >> > > I'm not too happy about this, additionally because it made the code less > readable. But he already pushed it to git. Ah well... I guess I'll label it an rfc patch next time I post something like that. When I was going through the code this morning I just noticed that cat was used only 4 times and grep just once. Personally I prefer to keep the number of pulled in utilities as small as possible. Hence the replacement. If you don't like the way I did it, please suggest something else. Regards, Philippe -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html