From owner-freebsd-questions@FreeBSD.ORG Tue Dec 11 16:47:45 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E32C516A41B for ; Tue, 11 Dec 2007 16:47:45 +0000 (UTC) (envelope-from maslak@ihlas.net.tr) Received: from pop3.ihlas.net.tr (smtp.ihlas.net.tr [213.238.128.249]) by mx1.freebsd.org (Postfix) with SMTP id 29CAF13C4D5 for ; Tue, 11 Dec 2007 16:47:44 +0000 (UTC) (envelope-from maslak@ihlas.net.tr) Received: (qmail 72684 invoked by uid 89); 11 Dec 2007 16:21:03 -0000 X-Mail-Scanner: Scanned by qSheff-II-2.1 (http://www.enderunix.org/qsheff/) Received: from unknown (HELO ihlasnetym) (213.238.150.220) by 0 with SMTP; 11 Dec 2007 16:21:02 -0000 Message-ID: <002801c83c11$cd434e70$dc96eed5@ihlasnetym> From: "Halid Faith" To: Date: Tue, 11 Dec 2007 18:20:50 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to replace two strings in a file in the same time with sed command ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2007 16:47:46 -0000 I want to replace two or more strings in a file in the same time with = sed command. How do I that ?