[Bug 255144] /bin/sh: inconsistency between implementation and manpage

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 17 14:43:24 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255144

--- Comment #2 from Helge Oldach <freebsd at 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=$(alias $1) && echo $(eval echo -n ${_x#$1=})
}

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

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


More information about the freebsd-bugs mailing list