Date: Mon, 27 Mar 2023 02:48:08 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 270441] /bin/sh - please implement '!!' support for 'sudo !!' and 'doas !!' usage Message-ID: <bug-270441-227-x7vPTm7pUg@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-270441-227@https.bugs.freebsd.org/bugzilla/> References: <bug-270441-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270441 --- Comment #4 from Slawomir Wojciech Wojtczak <vermaden@interia.pl> --- 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. <CSH> % ls /etc | while read I; do something --with "${I}"; done <CSH> % 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 ... <CSH> % 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270441-227-x7vPTm7pUg>