From owner-freebsd-questions@FreeBSD.ORG Tue Jun 29 17:02:18 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2BD316A4CE for ; Tue, 29 Jun 2004 17:02:18 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6F8C43D2D for ; Tue, 29 Jun 2004 17:02:18 +0000 (GMT) (envelope-from fbsd-questions@trini0.org) Received: from hivemind.trini0.org (trini0.org[65.34.205.195]) by comcast.net (rwcrmhc12) with ESMTP id <2004062917013701400hqa8de>; Tue, 29 Jun 2004 17:01:37 +0000 Received: from gladiator.trini0.org (gladiator.trini0.org [192.168.0.3]) by hivemind.trini0.org (Postfix) with ESMTP id 7E04216C for ; Tue, 29 Jun 2004 13:01:36 -0400 (EDT) From: Gerard Samuel To: freebsd-questions@freebsd.org Date: Tue, 29 Jun 2004 13:01:36 -0400 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200406291301.36285.fbsd-questions@trini0.org> Subject: Means of trimming files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2004 17:02:19 -0000 When editing php files, via the command line, there is a newline character after the closing ?> Im looking for a command that would trim files, so that I can append it to the find command. find ./ -name '*.php' -exec SOME_COMMAND {} \; Thanks