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=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2310 invoked from network); 20 Jul 2020 18:43:02 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 20 Jul 2020 18:43:02 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 26B4C9BA9A; Tue, 21 Jul 2020 04:43:00 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id A35929BA30; Tue, 21 Jul 2020 04:42:01 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ccc.com header.i=@ccc.com header.b="Xrg7g4Oh"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 643CB9BA30; Tue, 21 Jul 2020 04:41:59 +1000 (AEST) Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) by minnie.tuhs.org (Postfix) with ESMTPS id DC61D9BA2A for ; Tue, 21 Jul 2020 04:41:58 +1000 (AEST) Received: by mail-qt1-f169.google.com with SMTP id i3so13967258qtq.13 for ; Mon, 20 Jul 2020 11:41:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccc.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HI5/g7Bvf+vm6GWWkteTr5qN15xjRFJqbvyt007aHpI=; b=Xrg7g4OhLQqPf/a+ya1pqcUYkDlaJPEtR9u+6fZWa2KT1SKCCJE/c/yFzH+vgjxegx awWMVdBqaO8ygn4EPHNjEHToPAXEJBLb/zIBdy7UjuhKIJCrOOczzDwt/Va05nl3leup 6CAcWFlZmH7Vk+hVwVwX0KC4V9YSWpRJx0TYo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HI5/g7Bvf+vm6GWWkteTr5qN15xjRFJqbvyt007aHpI=; b=rHiuT4UUo84yBXK6iL0D8x24FZ6mUwcQABo6kX1yxO0fWnIZkZBwaHlm1hE8ClqXdL 37t+cS9PX92y1gva68QYZ5hPOLZuRUThPgU7AnFMzlxEPk4JMKZEdEafhfrD3tOdnoi2 lBQyUZuel1YyFe3y5Uqdm5dub97mqC8jgoIzI2iHbumsGquaL6lgJkBKq0peoUNulo69 iC3wH7NUbm55KP7zkDk+b5G1Pmfev/QnWN8vit7PXR+VjPUeleJpzCaqG/cPwIyrciT2 5bahB/h2vgjakR5FXo0ldxuLWq7IDz/0Hrgod601MmKbmc/Z1+010ffWjDbCuxw4cxhI uGHQ== X-Gm-Message-State: AOAM531Ewsf+/xNtaLKthB1UkVBcVy1SkqRhl+U09Tio3Qx995pOcOd6 /TprjtcnDLS+5Zb+Ar7n5SPZkoAsH9O9PU1i7xrWuKMu X-Google-Smtp-Source: ABdhPJwf7qjTdBMrjIQj1pl+edwKtMjoy4Cin651Q5ftH4rdY84l+HcMiAYmYToGjdT/7h0xewnWfrH2Q4Erf40IREo= X-Received: by 2002:ac8:71cf:: with SMTP id i15mr1348384qtp.119.1595270517967; Mon, 20 Jul 2020 11:41:57 -0700 (PDT) MIME-Version: 1.0 References: <78041442-c5e5-1b5c-8565-b6d31f23ec1b@gmail.com> In-Reply-To: From: Clem Cole Date: Mon, 20 Jul 2020 14:41:31 -0400 Message-ID: To: Will Senn Content-Type: multipart/alternative; boundary="0000000000008b628505aae3dc78" 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: , Cc: TUHS main list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --0000000000008b628505aae3dc78 Content-Type: text/plain; charset="UTF-8" On Mon, Jul 20, 2020 at 2:12 PM Will Senn wrote: > sed -e '1,/---cut here---/d' < $patch | sh -x > > is what I use, but there's a wide variety of 'cut here' lines in the > 2.11BSD patches, so I have had to taylor to each patch. > > Yep and you usually only running one or two at a time. Your work As Wernflow of a applying a lot of patches is a tad different. As Warner said, there were plenty of different shar/unshars back in the day. Just remember to thank Mary Ann for uuencode/decode which started it all ;-) Clem --0000000000008b628505aae3dc78 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Jul 20, 2020 at 2:12= PM Will Senn <will.senn@gmail.co= m> wrote:
sed -e '1,/---cut here---/d' < $patch | sh -x

is what I use, but there's a wide variety of 'cut he= re' lines in the 2.11BSD patches, so I have had to taylor to each patch.
Yep and you usually only running one or two at a time.=C2=A0 =C2=A0Y= our work=C2=A0 As Wernflow=C2=A0of a applying=C2=A0a lot of patches is a ta= d different.=C2=A0 As Warner said, there were plenty of different shar/unsh= ars=C2=A0back in the day.=C2=A0

= Just remember=C2=A0to thank Mary Ann for uuencode/decode which started = it all ;-)
Clem
--0000000000008b628505aae3dc78--