From nobody Sun May 29 10:03:58 2022 X-Original-To: standards@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 26FD51B3F5DD for ; Sun, 29 May 2022 10:03:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L9vJY62WBz54qs for ; Sun, 29 May 2022 10:03:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B067D20E7E for ; Sun, 29 May 2022 10:03:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24TA3vov049290 for ; Sun, 29 May 2022 10:03:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24TA3vO2049289 for standards@FreeBSD.org; Sun, 29 May 2022 10:03:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 46441] sh(1): Does not support PS1, PS2, PS4 parameter expansion Date: Sun, 29 May 2022 10:03:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-patch, needs-qa, standards X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pstef@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-standards@freebsd.org X-BeenThere: freebsd-standards@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653818637; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EiIsoog4W45vBe2SnzF32gV7N1mNvgJw63qtvM+Wy54=; b=frGx9nuB0jEaNeJVlCU5XjA1IgdiLPgZJIFIfph+P2tu6do0nJy729U2VEgu1BSM8qJngv sywhuPh6L+8EKECRDP5N08m9PjenJgSEi831lGEASVXr1yqsMueuhVGCMcNHnvdjbcYm4X 4f5jNz8Qe3F/CCsazi+xI0EjDS0c5cwAeyR/t5o5xnTFlxW63r+WtVrPUDV9fUftZnHUyX ImC6lZzY8M2/LtrmMWzLHv3x4xgekBjCX6P8poA61+YbKRDAz/Jjd8qj574u7MIm6Lg0xR GsAdagwndSNsbSaYQprqK6o+g2553mz1i//DKJFodoYvZK8xfqMlH1XNnZtN5w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653818637; a=rsa-sha256; cv=none; b=TBUp6kDjQjoH0oBaYdE+/KdD3fvzLuW34q/Ceduxhpq963OFHoW0XkmeRcYW4vwggBXwAQ MazideeEseDjXMl2bT9o7IYQUi8EBwKQ+EmqDf2gXidYi0BqIP5ACG5TEMAHhYeCi+930S sWX4EI9AQZVIQTxMQzjk6gfnOZmeNnGZqH+LtlZvJ6KLDMIvdEZuH9WQ3GXKjcNce4eZqp aZw9k9bdVXL0cUZnxShGdson3EqdhAahzoi+eGwy8O2qz6rstqdp8QQBy5+hlhazI853sj NrSlPD8idJLBcpgI/MA5bJCUr/a8i6Yc0q+Xru/VIVm/x4ZDuW2BpJOimYZMPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D46441 --- Comment #14 from Piotr Pawel Stefaniak --- To expand a bit on what I was thinking, in the context of PS4 and > The problem with unbounded recursion from command substitutions is avoide= d by not allowing command substitutions my idea was to allow recursion bounded to the stack depth of 2 or perhaps s= ome other low number that would allow simple PS4=3D'`date`' or similar, but not anything more fancy. --=20 You are receiving this mail because: You are on the CC list for the bug.=