From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 15 Aug 2003 17:34:12 +0400 From: Roman Bogorodskiy To: Saratov Linux User Group Maillist Subject: Re: Re[2]: [Sarlug] serach & replace Message-Id: <20030815173412.0f44b256.bogorodskiy@inbox.ru> In-Reply-To: <20030815141953.432336cf.bogorodskiy@inbox.ru> References: <20030815135855.28ede582.bogorodskiy@inbox.ru> <20030815141953.432336cf.bogorodskiy@inbox.ru> X-Mailer: Sylpheed version 0.9.0 (GTK+ 1.2.10; i386-portbld-freebsd5.1) X-Info: The lamest linux user you ever seen Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-BeenThere: sarlug@lug.ru X-Mailman-Version: 2.1.2 Precedence: list Reply-To: Saratov Linux User Group Maillist List-Id: Saratov Linux User Group Maillist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2003 13:34:53 -0000 Archived-At: List-Archive: List-Post: I wrote: > > > sed -e s/выражение1/выражение2/g * > > > > А сам пробовал? :) > > sed -e s/выражение1/выражение2/g -i .bak * > вот так работает вроде :) Извеняюсь, что дал не универсальный совет для всех систем: man 1 sed ---cut 8<--- The -i option is a non-standard FreeBSD extension and may not be avail- able on other operating systems. ---cut 8<--- -Roman Bogorodskiy [Novel] From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Roman Bogorodskiy To: Saratov Linux User Group Maillist Subject: Re: Re[2]: [Sarlug] serach & replace Message-ID: <20030815173412.0f44b256.bogorodskiy@inbox.ru> In-Reply-To: <20030815141953.432336cf.bogorodskiy@inbox.ru> References: <20030815135855.28ede582.bogorodskiy@inbox.ru> <20030815141953.432336cf.bogorodskiy@inbox.ru> X-Mailer: Sylpheed version 0.9.0 (GTK+ 1.2.10; i386-portbld-freebsd5.1) X-Info: The lamest linux user you ever seen Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-BeenThere: sarlug@lug.ru X-Mailman-Version: 2.1.2 Precedence: list Reply-To: Saratov Linux User Group Maillist List-Id: Saratov Linux User Group Maillist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2003 13:34:53 -0000 Date: Fri, 15 Aug 2003 13:34:53 -0000 X-Original-Date: Fri, 15 Aug 2003 17:34:12 +0400 X-List-Received-Date: Fri, 15 Aug 2003 13:34:53 -0000 Message-ID: <20030815133453.LdHfc7WsZXsqe_ZD4UeK7TRZ3H3ObBJORp3FhQBslXM@z> Archived-At: List-Archive: List-Post: I wrote: > > > sed -e s/выражение1/выражение2/g * > > > > А сам пробовал? :) > > sed -e s/выражение1/выражение2/g -i .bak * > вот так работает вроде :) Извеняюсь, что дал не универсальный совет для всех систем: man 1 sed ---cut 8<--- The -i option is a non-standard FreeBSD extension and may not be avail- able on other operating systems. ---cut 8<--- -Roman Bogorodskiy [Novel]