[conspire] [ONLIST] DNS_CK - appreciate a look-see; Python? - no, it's shell
Michael Paoli
Michael.Paoli at cal.berkeley.edu
Thu May 7 05:57:01 PDT 2020
> From: "Elise Scher" <elise.scher01 at gmail.com>
> Subject: Re: [conspire] [ONLIST] DNS_CK - appreciate a look-see
> Date: Thu, 7 May 2020 04:18:09 -0700
> Python?
>
> On Thu, May 7, 2020, 2:28 AM Michael Paoli <Michael.Paoli at cal.berkeley.edu>
> wrote:
>
>> http://www.mpaoli.net/~michael/bin/DNS_CK
Shell:
$ head -n 1 DNS_CK
#!/bin/sh
$
https://en.wikipedia.org/wiki/Shebang_(Unix)
$ man sh | col -b | expand | sed -e '/^[ \t]*$/d' | head -n 3
DASH(1) BSD General Commands Manual DASH(1)
NAME
dash -- command interpreter (shell)
$
In the land of Unix/Linux/BSD(/...?)
/bin/sh
generally gives a Bourne or POSIX(-like) shell, or shell in
POSIX(-like) mode.
dash is essentially a minimal POSIX compliant shell.
$ type dash bash
dash is hashed (/bin/dash)
bash is /bin/bash
$ ls -l /bin/[bd]ash
-rwxr-xr-x 1 root root 1099016 May 15 2017 /bin/bash
-rwxr-xr-x 1 root root 117208 Jan 23 2017 /bin/dash
$ man sh | col -b | expand | sed -ne '/^HISTORY/,/^$/{/^$/q;p}'
HISTORY
dash is a POSIX-compliant implementation of /bin/sh that aims to be as
small as possible. dash is a direct descendant of the NetBSD version of
ash (the Almquist SHell), ported to Linux in early 1997. It was renamed
to dash in 2002.
$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Jan 23 2017 /bin/sh -> dash
$
More information about the conspire
mailing list