From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Injected-Via-Gmane: http://gmane.org/ To: community@lists.altlinux.org From: Artem Zolochevskiy Date: Sat, 08 Apr 2006 18:03:06 +0300 Message-ID: References: <20060408162451.6dbc6a49@into.localdomain> <4437CFAC.9040906@tpway.com> Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ppp132-108.tis-dialog.ru User-Agent: Debian Thunderbird 1.0.2 (X11/20051002) X-Accept-Language: en-us, en In-Reply-To: <4437CFAC.9040906@tpway.com> Sender: news Subject: Re: [Comm] =?koi8-r?b?0+Tg6+jy/CDv5fDi8/4g8fLw7urzIO/uIPPx6+7i6P4u?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2006 15:03:18 -0000 Archived-At: List-Archive: List-Post: Nick S. Grechukh wrote: > Artem Zolochevskiy wrote: > >>for i in `ls *`; do if [ `head -n1 $i` = From ]; then sed -i '/^From/ d' >>$i; fi ;done >>стоя в каталоге с файлами > > find+sed быстрее :) согласен (1:0 в вашу пользу) к тому же я еще и неверно написал. так что 2:0 ваша взяла :-)