From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 4 Mar 2004 10:03:07 +0200 From: Michael Shigorin To: ALT Devel discussion list Message-ID: <20040304080307.GW18332@osdn.org.ua> Mail-Followup-To: ALT Devel discussion list References: <20040303220519.GB3390@nomad.office.altlinux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.1i Subject: [devel] Re: %__subst changes? X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.4 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 08:03:12 -0000 Archived-At: List-Archive: List-Post: On Thu, Mar 04, 2004 at 09:33:17AM +0200, Maxim Tyurin wrote: > > find -type f -print0 | > > xargs -r0 %__grep -FZl /etc/ipsec.secrets -- | > > xargs -r0 %__subst 's|/etc/ipsec.conf|/etc/super-freeswan/ipsec.conf|' -- > Спасибо. Так гораздо понятнее. Я где-то подцепил такой стиль: find -type f -print0 \ | xargs -r0 %__grep -FZl /etc/ipsec.secrets -- \ | xargs -r0 %__subst 's|/etc/ipsec.conf|/etc/super-freeswan/ipsec.conf|' -- IMO и компактней, и читабельней. :) -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/