From owner-freebsd-questions@FreeBSD.ORG Sun Dec 24 10:48:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A9E4E16A40F for ; Sun, 24 Dec 2006 10:48:06 +0000 (UTC) (envelope-from deeptech147@hotpop.com) Received: from smtp-out.hotpop.com (smtp-out.hotpop.com [38.113.3.71]) by mx1.freebsd.org (Postfix) with ESMTP id 8025413C475 for ; Sun, 24 Dec 2006 10:48:06 +0000 (UTC) (envelope-from deeptech147@hotpop.com) Received: from hotpop.com (kubrick.hotpop.com [38.113.3.105]) by smtp-out.hotpop.com (Postfix) with SMTP id 44AC23E3E975 for ; Sun, 24 Dec 2006 04:10:05 +0000 (UTC) Received: from [192.168.123.111] (dsl54006F12.pool.t-online.hu [84.0.111.18]) by smtp-1.hotpop.com (Postfix) with ESMTP id 35E871480BB for ; Sun, 24 Dec 2006 04:10:03 +0000 (UTC) Message-ID: <458DFE11.1040201@hotpop.com> Date: Sun, 24 Dec 2006 05:12:01 +0100 From: DeepTech User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Subject: Re: Search & Replace Issue 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: Sun, 24 Dec 2006 10:48:06 -0000 OK, specifically, sed -e 's/http\:\/\/www\.domain\.htm\///g' *.htm > *.htm The sed command processes files with some regexp stuff, this command removes the http://www.domain.htm/ from htms. NOTE: not sure if u have to use a '\' before that ':'