[Bug 270441] /bin/sh - please implement '!!' support for 'sudo !!' and 'doas !!' usage

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Mar 2023 02:14:21 UTC

Ryan Wright <wright08@vt.edu> changed:

           What    |Removed                     |Added
                 CC|                            |wright08@vt.edu

--- Comment #3 from Ryan Wright <wright08@vt.edu> ---
Perhaps it is not in the scope of /bin/sh to include history expansion? 

From the man page: 
> The current version of sh is close to the IEEE Std 1003.1 (“POSIX.1”)
> specification for the shell.  It only supports features designated by POSIX,
> plus a few Berkeley extensions.

Check out csh if you would like history expansion in the base system, else the
ports tree contains many other shells such as bash or zsh.

You are receiving this mail because:
You are the assignee for the bug.