From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25942 invoked from network); 24 Jul 2020 18:38:10 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 24 Jul 2020 18:38:10 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 510579C9FB; Sat, 25 Jul 2020 04:38:07 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 0C97B9C8DE; Sat, 25 Jul 2020 04:36:51 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=fastmail.com header.i=@fastmail.com header.b="Avt05qRq"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="k3Sx4qxg"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id BC05A9C8DE; Sat, 25 Jul 2020 04:36:48 +1000 (AEST) X-Greylist: delayed 424 seconds by postgrey-1.36 at minnie.tuhs.org; Sat, 25 Jul 2020 04:36:47 AEST Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by minnie.tuhs.org (Postfix) with ESMTPS id CDF439C8B1 for ; Sat, 25 Jul 2020 04:36:47 +1000 (AEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0C43F5C00C6 for ; Fri, 24 Jul 2020 14:29:43 -0400 (EDT) Received: from imap22 ([10.202.2.72]) by compute1.internal (MEProxy); Fri, 24 Jul 2020 14:29:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm3; bh=3ETvoxg1AkoWPzopix/L253K9udFGNd sErtsYhiWqwg=; b=Avt05qRq0NwcybqLMTqj6vYKSqM0iPXFck/EK6H1EcV1biD 4wSOMn6dHXfP1WRvGn2fA2X6umiB/uAMhrMsCafGS3g6ZkXVuBQGBENm19Cp9sDf drpwcwkdZaWpUOxflNNsF2Iq+h4Qt3HzeJb1WpUc/gvMcxMCgnPjv1DDxDUzbCU0 55POqCgWb33B8hmjw7P58KFQf4HIjoC7e8y5BdLptSNoMW1TsizwVi1+WOpcfP4e 1gZ50Q1mI2x4mMQQB13cGsY3Q+5HB/6WKny+BVKrRZ1jv++FYAy6EHSxJiXVgo+d lTXkUqY/zI2mJYWiRM2r7mts1ApM8xNAr+G7q/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=3ETvox g1AkoWPzopix/L253K9udFGNdsErtsYhiWqwg=; b=k3Sx4qxgtgZzTKDXPAK9dw DYZK+egNtqXPPjeNHTkbAlOtGyLdYUDFrd6XbyxdrXquJKEQ9/gHVkpsZiNNPaPm xPT3MD2uf08ZHsxuYONYezTB5J7Ur3fOpDxWBs0d9/HFmUsgODEXWufgh424GoYC EgENvuHCHsXb5lgdfUQeOUZPBmPNXCJxZ8Ldz/w0yk2g9UbZkci+bLZ/Bk9LW9pd VbNKXgesI3TPOB30ujsX6XCKb1b5bdzxu+KyU0u+hY7/63fIVIiYz6uFdyxW7Ymm VXTi4L7OhzXXZHmxZ+cQvazQNJBbkWYt80bq/lAZV/wO4nwqwn7PQlA3FWKdhc4w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrheefgdduvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpeftrghnughomhekfedvuceorhgrnhguohhmkeefvdesfhgr shhtmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeeifeevtdevleffhedujefgje eiffffheelteeffeehleekueehleefueelgeduffenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehrrghnughomhekfedvsehfrghsthhmrghilh drtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9E6436680078; Fri, 24 Jul 2020 14:29:42 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-92-g11c785d-fm-20200721.004-g11c785d5 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <78041442-c5e5-1b5c-8565-b6d31f23ec1b@gmail.com> Date: Fri, 24 Jul 2020 14:29:21 -0400 From: Random832 To: TUHS Content-Type: text/plain Subject: Re: [TUHS] Traditional method of dealing with embedded shar files X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Mon, Jul 20, 2020, at 14:07, Will Senn wrote: > On 7/20/20 12:52 PM, Clem Cole wrote: > > > > > > On Mon, Jul 20, 2020 at 1:25 PM Will Senn wrote: > >> My questions for y'all are how would you go about doing this? Use vi to delete everything through the ==== cut here line? > > Yep > Nice, seemed easy enough to me, but I was expecting real Unix folks use > sed | awk | indent type answers. For whatever it's worth, you can do the exact same thing as vi with sed in this case: 1,/====/d I wasn't there, so I can't say if this was done in practice or if there was even enough uniformity in the markers for it to be reliable in theory [perhaps /^#!/,$p ?]