Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.alt.folklore.computer > #41293

Re: ULTRIX /bin/sh und telnetd

From Marco Scholz <tool@disroot.org>
Newsgroups de.alt.folklore.computer
Subject Re: ULTRIX /bin/sh und telnetd
Date 2023-07-16 16:04 +0000
Organization C3PO - Computercluster Power Plugs & Patches Office
Message-ID <u914dp$qdlm$1@dont-email.me> (permalink)
References (1 earlier) <kfldhmF25o1U5@mid.individual.net> <u74bag$a9f$1@news.szaf.org> <kflrlvF486mU2@mid.individual.net> <u74of7$cvm$1@news.szaf.org> <u8p9a5$3mplp$1@dont-email.me>

Show all headers | View raw


On 2023-07-13, Marco Scholz <tool@disroot.org> wrote:
> ksh88 führt blocks im originalen shell Kontext aus, während pdksh
> subshells/ subprocesses spawnt und die blocks werden dann nicht im
> originalen Kontext ausgeführt.

Ein Beispiel:

x="geht nicht"
echo "geht" | read x; echo $x

Unter ksh88 (oder ksh93) wird "geht" ausgegeben, da das Überschreiben
von x in der selben shell passiert.

Bei pdksh (auch bash) wird "geht nicht" ausgegeben, da die pipe eine
subshell startet, die den vorherigen Kontext nicht kennt. Und dadurch
wird x nicht überschrieben...


-- 
XMPP tool@disroot.org
DB4CE71C8DEF84257AD0B23E4D5934D90226C7F3                      00000100 ⌁

Back to de.alt.folklore.computer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-21 23:01 +0000
  Re: ULTRIX /bin/sh und telnetd poc@pocnet.net - 2023-06-23 11:21 +0000
    Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-23 14:47 +0000
      Re: ULTRIX /bin/sh und telnetd poc@pocnet.net - 2023-06-23 15:22 +0000
        Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-23 18:32 +0000
          Re: ULTRIX /bin/sh und telnetd Enrik Berkhan <Enrik.Berkhan@inka.de> - 2023-06-24 08:34 +0000
          Re: ULTRIX /bin/sh und telnetd Stefan Möding <Jun2023.5.kill-9@spamgourmet.com> - 2023-06-24 12:44 +0200
            Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-24 11:13 +0000
              Re: ULTRIX /bin/sh und telnetd Stefan Möding <Jun2023.5.kill-9@spamgourmet.com> - 2023-06-24 14:22 +0200
                Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-24 19:29 +0000
          Re: ULTRIX /bin/sh und telnetd Diedrich Ehlerding <diedrich.ehlerding@t-online.de> - 2023-06-24 11:58 +0200
            Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-24 11:04 +0000
          Re: ULTRIX /bin/sh und telnetd Marco Scholz <tool@disroot.org> - 2023-07-13 16:38 +0000
            Re: ULTRIX /bin/sh und telnetd Marco Scholz <tool@disroot.org> - 2023-07-16 16:04 +0000
              Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-07-17 07:42 +0000
            Re: ULTRIX /bin/sh und telnetd Marco Scholz <tool@disroot.org> - 2023-08-02 11:54 +0000
              Re: ULTRIX /bin/sh und telnetd Christian Corti <use@reply.to> - 2023-08-02 14:23 +0200
                Re: ULTRIX /bin/sh und telnetd Marco Scholz <tool@disroot.org> - 2023-08-02 15:51 +0000
              Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-08-03 19:06 +0000
                Re: ULTRIX /bin/sh und telnetd Marco Scholz <tool@disroot.org> - 2023-08-07 16:18 +0000
                Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-08-07 17:21 +0000
                Re: ULTRIX /bin/sh und telnetd Marco Scholz <tool@disroot.org> - 2023-08-08 07:39 +0000
                Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-08-08 08:05 +0000
                Re: ULTRIX /bin/sh und telnetd poc@pocnet.net - 2023-08-08 11:39 +0000
                Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-08-08 16:11 +0000
              Re: ULTRIX /bin/sh und telnetd Diedrich Ehlerding <diedrich.ehlerding@t-online.de> - 2023-08-03 21:31 +0200
                Re: ULTRIX /bin/sh und telnetd "Peter J. Holzer" <hjp-usenet3@hjp.at> - 2023-08-03 23:14 +0200
      Re: ULTRIX /bin/sh und telnetd Hanno Foest <hurga-news2@tigress.com> - 2023-06-23 18:02 +0200
        Re: ULTRIX /bin/sh und telnetd "Peter J. Holzer" <hjp-usenet3@hjp.at> - 2023-06-23 18:23 +0200
          Re: ULTRIX /bin/sh und telnetd Stefan Möding <Jun2023.5.kill-9@spamgourmet.com> - 2023-06-23 18:28 +0200
            Re: ULTRIX /bin/sh und telnetd "Peter J. Holzer" <hjp-usenet3@hjp.at> - 2023-06-23 18:59 +0200
              Re: ULTRIX /bin/sh und telnetd Stefan Möding <Jun2023.5.kill-9@spamgourmet.com> - 2023-06-24 12:40 +0200
                Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-24 11:24 +0000
  Re: ULTRIX /bin/sh und telnetd Christian Corti <use@reply.to> - 2023-06-22 11:27 +0200
    Re: ULTRIX /bin/sh und telnetd Dennis Grevenstein <dennis.grevenstein@gmail.com> - 2023-06-26 14:20 +0000

csiph-web