Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2021 14:43:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255144] /bin/sh: inconsistency between implementation and manpage
Message-ID:  <bug-255144-227-tjmwmEhwmd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255144-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255144-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=3D255144

--- Comment #2 from Helge Oldach <freebsd@oldach.net> ---
(In reply to Ceri Davies from comment #1)
True. Should the manpage be corrected then?

Maybe extend with an "alias -r" (raw) command that just prints the value
without quoting? Basically the equivalent of:

rawalias() { local _x; _x=3D$(alias $1) && echo $(eval echo -n ${_x#$1=3D})
}

FWIW, our shell extends beyond POSIX, for example POSIX doesn't know
Dollar-Single Quotes.

--=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-255144-227-tjmwmEhwmd>