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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7741 invoked from network); 1 Aug 2021 19:23:49 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 1 Aug 2021 19:23:49 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 471E79CA8C; Mon, 2 Aug 2021 05:23:45 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 5A9E19CA64; Mon, 2 Aug 2021 05:23:23 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="LiYvDEQC"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 8412D9CA63; Mon, 2 Aug 2021 05:23:20 +1000 (AEST) Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) by minnie.tuhs.org (Postfix) with ESMTPS id BA9889CA60 for ; Mon, 2 Aug 2021 05:23:19 +1000 (AEST) Received: by mail-oi1-f175.google.com with SMTP id n16so14988392oij.2 for ; Sun, 01 Aug 2021 12:23:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=q3ilfHrL6b6xk6cROThTN8ocfjx6saObBFFEMDXShzY=; b=LiYvDEQCpB+7PzDWgqi4RAflAfnWqyDBR2+3FrsFG4YJKpYaPxnYkcJRLRz5AZ8ycu vgZZ4l762yfcSoH1jhYSJ7eifBCJ7HvRl8RztsJjQvy09YTSEOBIlGu9iLAd/XSLTb+H 3xlIEf7rKgmGz5gjEVEvVfbjqf51yt8I8utj9k0dlrAUGNM8T9l4RmV1fCYixrh+dG3w KaSZzyGUHg970Fed8Ni1IYtTUdVnkLs3s7lFWZB6hXzpVtCVtSFhP1y5z8juplZ2Ee5F lY7qjdFPyeUNWnpY2/cR/4EmPzxWDK6RqCyfgreYsg69IQ8VTtZ9p/y2XZ3pnbfRlz2D IHsw== 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=q3ilfHrL6b6xk6cROThTN8ocfjx6saObBFFEMDXShzY=; b=XCtxDs2/kJY6u1zNhNthvEPBRlta0II9swACiuu7wYTi5MIqK3Ji6/BPRqg322BbmB auvlAlWJXuU43B7E2hmxB5ri3WOb/0rn2wwnwjOUBb0XgIG5gHmMJQMtjulv7eG0k7rr ZrJP88ZpBX794uHuS1AEFpEcNpANkp1Kz0ew1EXTI4nELe73L+vYPvfTMhy7UqjOCcav mNzOFRYR1RJOftI38uv5o8O3g5aF8fwv1rLodXRMQrf/4TpP1g6C0LFeD1txl0GvnRJI MsAAYJRdMfq51IPIpwilO1kQ5XBTogkeaycLls2VvWBbQg4mmHmqROniPPyyC1e3ekHz GRYA== X-Gm-Message-State: AOAM532qX76l1KvlChaE84pIWp3YK1hJ0aEd1mMKa3RrbH7d+Zsonxsl HTnoLkYsK6gy46aZAOjjeVpmZrb1fbY53YF0EyI= X-Google-Smtp-Source: ABdhPJzPZX2PLKqBQnealMOEipGNvkdDyYuXvC83pq1uaTgIG3Wmn37amgCs6soOUnWeNkTesOAu1Hm0bO0tCH4yZ+s= X-Received: by 2002:a54:400f:: with SMTP id x15mr991758oie.86.1627845799075; Sun, 01 Aug 2021 12:23:19 -0700 (PDT) MIME-Version: 1.0 References: <20210731142533.69caf929@moon> <20210731205609.07e8149f@moon> <656b68de-fc95-d75f-1d93-8d6410296d00@case.edu> In-Reply-To: <656b68de-fc95-d75f-1d93-8d6410296d00@case.edu> From: Richard Salz Date: Sun, 1 Aug 2021 15:23:10 -0400 Message-ID: To: Chester Ramey Content-Type: multipart/alternative; boundary="0000000000009a648d05c88462ff" Subject: Re: [TUHS] Systematic approach to command-line interfaces 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" --0000000000009a648d05c88462ff Content-Type: text/plain; charset="UTF-8" > >> This lets you execute commands like: > >> > >> auth/as > ... POSIX forbids this behavior, FWIW, so you'll probably have a hard time > finding a shell -- at least one with POSIX aspirations -- that implements > it. > So you write a function or alias that prepends the full path to "as" and exec's the command. So you have to type "auth as ..." but BFD. --0000000000009a648d05c88462ff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

>> This lets you execute commands like:
>>
>>=C2=A0 =C2=A0 =C2=A0 auth/as
...=C2=A0
POSIX forbids this behavior, FWIW, so = you'll probably have a hard time
finding a shell -- at least one with POSIX aspirations -- that implements i= t.

So you write a function or alias tha= t prepends the full path to "as" and exec's the command.=C2= =A0 So you have to type "auth as ..." but BFD.
--0000000000009a648d05c88462ff--