> On 12. Jan 2025, at 21:59, Andrej Shadura wrote:
>
> At least in Debian, dash is primarily a shell for scripts, not for
> interactive use. (That’s also why we don’t enable libedit.)
> So some escape sequences not being available in the prompt are not of a huge
> concern for us.
> I think th
Hello,
On Sun, 12 Jan 2025, at 21:18, Yury V. Zaytsev wrote:
>> My answer: you don’t. Dash is POSIX shell, don’t disambiguate it.
> Dash does not support escape sequences like \u, \w, \h in the prompt,
> while Busybox ASH does support them, so we need to be able to tell one
> from another.
At
> On 12. Jan 2025, at 20:57, Andrej Shadura wrote:
>
> On Sun, 12 Jan 2025, at 20:45, Yury V. Zaytsev wrote:
>
>> We use these variables in our shell detection code to disambiguate
>> between different shells with the same name. In this case, we want to
>> differentiate Dash from Busybox ASH
Hello,
On Sun, 12 Jan 2025, at 20:45, Yury V. Zaytsev wrote:
>> Why do you find it useful? What would be the purpose of it? Dash is supposed
>> to be POSIX-compatible, so there isn’t a need for feature detection as with
>> bash or zsh, and I don’t think the version of dash itself is a useful
>>
> On 12. Jan 2025, at 20:29, Andrej Shadura wrote:
>
> On Sun, 12 Jan 2025, at 19:41, Yury V. Zaytsev wrote:
>> We (the developers of Midnight Commander) would also find DASH_VERSION
>> to be a useful inclusion. Thanks!
>
> Why do you find it useful? What would be the purpose of it? Dash is s
Control: tags -1 wontfix
Hello,
On Sun, 12 Jan 2025, at 19:41, Yury V. Zaytsev wrote:
> We (the developers of Midnight Commander) would also find DASH_VERSION
> to be a useful inclusion. Thanks!
Why do you find it useful? What would be the purpose of it? Dash is supposed to
be POSIX-compatible
Package: dash
Version: 0.5.7-4
Severity: wishlist
Tags: upstream patch
Dear Maintainer,
On a Debian system, the only way to determine the version of the dash
shell is to ask dpkg. The program itself has no way to report its
version.
It would be nice if dash provided a DASH_VERSION readonly varia
7 matches
Mail list logo