From nobody Mon Mar 27 02:48:08 2023 X-Original-To: bugs@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 4PlHLJ56fQz41YhZ for ; Mon, 27 Mar 2023 02:48:08 +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 4PlHLJ43QQz3jbp for ; Mon, 27 Mar 2023 02:48:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679885288; 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=3GubEMNiiCFC+FhE2SNe0X0BDbQcAMZQJuwME0UZoyk=; b=tYdzQgYgVrp/fxsr6dTNCHr0ErqbbBuxgkgnHhQGwZLQkFiVN0NjeGaGhOUEC62l1L6osh UqLSYPeozetZl/wBBZZEApkYxUwoTm3grU0I4fWTTV+5YIbSX1KecCEuxnr+mLQQjN1M7V evUnp65f5IawCAy6stTEL766+jtMEBacDlyIPOXRGEERohwgiOB5nf4F8WE5pVEg4CyZgF 2NgKty0h4UvMWGED9qgcIC4n9Yh9aqwJf/Q3SfHCgwesBlmDRiTK4NBFSnZelkQGbdS9Su FyT9YrIWIkut4FbkceEt18D/5eriKmM6z4PYwqTfMf+RIJ8rG9VnIaIBwXC3aA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679885288; a=rsa-sha256; cv=none; b=MKE8Evfg7BghtxRaFjw5cyC/B53XO1n0BQegsI+3dFTuDpcpiQ5lj80x7kW2iS4nDuLT6L Pawh4Mi2OPnXCaSVcHjjEkXUgc7yRQ1HEz+OuR/BCUCDEZKlJlnP02kLZJgcjL0dkoNqLE Sjf7IfTEnmtD21guiQT4t3GlT1VexPk+azeOCneZPKCsCmBFcbqXmKZLOdvyrZ/zYuDnWe 1Ov9hFA772oFexzHBsM1n2nJpbp6ypSddkGonO7c8SnV1ZWXpuqmfVhdjaNSaaguOOIdCN lAZr2Uhzt1OOUIdArS9k9Qihg9IgkolB+mHADTfIeX2b2WJy8jy80w+BDU14yw== 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 4PlHLJ32Cwz14ly for ; Mon, 27 Mar 2023 02:48:08 +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 32R2m8xh035478 for ; Mon, 27 Mar 2023 02:48:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32R2m8FK035477 for bugs@FreeBSD.org; Mon, 27 Mar 2023 02:48:08 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: bugs@FreeBSD.org Subject: [Bug 270441] /bin/sh - please implement '!!' support for 'sudo !!' and 'doas !!' usage Date: Mon, 27 Mar 2023 02:48:08 +0000 X-Bugzilla-Reason: AssignedTo 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 X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270441 --- Comment #4 from Slawomir Wojciech Wojtczak --- There were many additions to /bin/sh for interactive work like completion e= tc. IMHO it would be nice to have such simple yet very useful feature implement= ed. CSH is terrible for interactive use for a 'power user'. Several examples what does not work in CSH below. % ls /etc | while read I; do something --with "${I}"; done % for I in $( find /etc ); do something --with "${I}"; done CSH is very limited ... it may have '!!' implemented and some other complet= ions but ... has tons of other problems. Not to even mention simple redirections ... % find /etc 2> /dev/null find: /etc/ntp: Permission denied find: 2: No such file or directory ... not to even mention these (and many more) :) - http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/ - https://hybras.dev/posts/2021-02-13-reasons-to-not-use-csh/ Regards. --=20 You are receiving this mail because: You are the assignee for the bug.=