From owner-freebsd-questions Wed Nov 11 09:12:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA08660 for freebsd-questions-outgoing; Wed, 11 Nov 1998 09:12:36 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from 3rdrock.coserve.org (3rdrock.coserve.org [198.213.49.88]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA08644 for ; Wed, 11 Nov 1998 09:12:20 -0800 (PST) (envelope-from fabry@panam.edu) Received: from earth (earth.coserve.org [198.213.49.85]) by 3rdrock.coserve.org (8.8.8/8.8.8) with SMTP id LAA00909 for ; Wed, 11 Nov 1998 11:09:21 -0600 (CST) (envelope-from fabry@panam.edu) Message-ID: <037401be0d96$58d82b90$5531d5c6@earth.coserve.org> From: "Alain G. Fabry" To: Subject: find and replace within files. Date: Wed, 11 Nov 1998 11:11:32 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there any way in FreeBSD that I can search in files for certain lines and replace them with something else? f.e. search for Name and replace with Last_Name This needs to be done thruogh a whole directory tree. Can you refer me to a command which will do this? Thanks, Alain To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message