From owner-freebsd-ports@FreeBSD.ORG Tue Apr 30 18:23:27 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 38E7F8FD for ; Tue, 30 Apr 2013 18:23:27 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-pb0-x231.google.com (mail-pb0-x231.google.com [IPv6:2607:f8b0:400e:c01::231]) by mx1.freebsd.org (Postfix) with ESMTP id 120951240 for ; Tue, 30 Apr 2013 18:23:27 +0000 (UTC) Received: by mail-pb0-f49.google.com with SMTP id rp8so385589pbb.22 for ; Tue, 30 Apr 2013 11:23:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=48MUCIBN3WEbzHCCZHROmhQFsrlqIWUeItQyrl3uhAY=; b=LM5iRBkV4ESDsZJ1ZZLj3oY3qOfyAFn6lyolYiC+02ZnuU5MWX1C0qqxMQCVBCZNp1 flSobN/q7z/1B7nGodHqXtrEmr6baXs42/w/hht90g9QRnT5FpzZDBSHazUxmdvpbSP8 ubFINbw6XaSSyGjtbWDKbRl5ia1hqW8ji5Dao= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=48MUCIBN3WEbzHCCZHROmhQFsrlqIWUeItQyrl3uhAY=; b=j98YQm2xUm+2vfrwmZsDHFx01mzyfzjP7ccxwMSw17ED8RdDwu6iX9V1YvNn5vWuwI Rbox6ZId51yK8jcoj+KeYVGx+XMyMGX8zSRu06Dk5ncbie174iIe4zimr4AMm8mEEzJp LCxDeG9EgmwnORLWxobiM0oFP6TXAXqXZ4Uao96jjK/23hLY6qQmDi6ss5mv70bIryBN O+PbEYz9gy2+m/jaoVYRwCANZc03+wq+nB2aUWERMCRVs/0q3uTQ/tdCWmUOjZ20dLiC TO6G9V9qptNy9cbtxuF7bO3TqgUyvAz6cOE/UXeJzvjqF+lhoGBEUf6f9nioH38fFILf I0fA== X-Received: by 10.66.102.70 with SMTP id fm6mr56398pab.164.1367346206808; Tue, 30 Apr 2013 11:23:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.159.97 with HTTP; Tue, 30 Apr 2013 11:22:55 -0700 (PDT) In-Reply-To: References: <20130430103821.GJ3577@ithaqua.etoilebsd.net> <20130430173500.GP3577@ithaqua.etoilebsd.net> <20130430174130.GQ3577@ithaqua.etoilebsd.net> From: Eitan Adler Date: Tue, 30 Apr 2013 14:22:55 -0400 Message-ID: Subject: Re: [BRAINSTORM] shebang fixing framework To: Chris Rees Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmGe41sahZXP12Y7m8ihW99tlNqjTWBnZoGU+AnHdkSkLle7+m/2ZZXPtE0MUm2LctZYPlx Cc: ports@freebsd.org, Baptiste Daroussin X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2013 18:23:27 -0000 On 30 April 2013 13:52, Chris Rees wrote: > This proposes running each regex over each file in turn. "or some variant thereof" - if that is really a big deal the regex could be modified to do all of them at once. We could even run the regex on just the first line. -- Eitan Adler