From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (mailfrom) identity=mailfrom; client-ip=8.23.224.61; helo=out.smtp-auth.no-ip.com; envelope-from=kevin@carhart.net; receiver= Received: from out.smtp-auth.no-ip.com (smtp-auth.no-ip.com [8.23.224.61]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 5F52777DE5 for ; Mon, 18 Sep 2017 02:51:23 -0700 (PDT) X-No-IP: carhart.net@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from carhart.net (unknown [99.52.200.227]) (Authenticated sender: carhart.net@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 0C05D28F for ; Mon, 18 Sep 2017 02:52:43 -0700 (PDT) Received: from carhart.net (localhost [127.0.0.1]) by carhart.net (8.13.8/8.13.8) with ESMTP id v8I9qfgA001586 for ; Mon, 18 Sep 2017 02:52:42 -0700 Received: from localhost (kevin@localhost) by carhart.net (8.13.8/8.13.8/Submit) with ESMTP id v8I9qfcf001582 for ; Mon, 18 Sep 2017 02:52:41 -0700 Date: Mon, 18 Sep 2017 02:52:41 -0700 (PDT) From: Kevin Carhart To: Edbrowse-dev@lists.the-brannons.com In-Reply-To: <877ewxwovl.fsf@prgmr.com> Message-ID: References: <20170817052128.eklhad@comcast.net> <877ewxwovl.fsf@prgmr.com> User-Agent: Alpine 2.03 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [Edbrowse-dev] jdb redirect X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.24 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2017 09:51:24 -0000 It works! The following could be a sample usage of the new libraries and the redirect to file, put together: escodegen.generate(esprima.parse(document.scripts[3].data)) outfile 2097837 bytes Very cool. It's saved to the filesystem and it has the linefeeds, in very few steps! > > file EXPRESSION In case we wanna switch from tab, no problem as far as I'm concerned.