Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Bug: The configure option of dash is not POSIX compatible.
@ 2022-02-07 10:58 carbongreat13
  2022-02-08 16:12 ` leahneukirchen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: carbongreat13 @ 2022-02-07 10:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

New issue by carbongreat13 on void-packages repository

https://github.com/void-linux/void-packages/issues/35457

Description:
### Expected behavior
dash is a "POSIX-compliant Unix shell" in the description. However, the current build options are not POSIX-compatible. You need to include --with-libedit as a build option.

See: https://bugs.archlinux.org/task/36346



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug: The configure option of dash is not POSIX compatible.
  2022-02-07 10:58 [ISSUE] Bug: The configure option of dash is not POSIX compatible carbongreat13
@ 2022-02-08 16:12 ` leahneukirchen
  2022-02-08 16:12 ` [ISSUE] [CLOSED] " leahneukirchen
  2022-08-12 10:41 ` erwin
  2 siblings, 0 replies; 4+ messages in thread
From: leahneukirchen @ 2022-02-08 16:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 406 bytes --]

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/issues/35457#issuecomment-1032794894

Comment:
False, the command line editing feature is part of the "User Portability Utilities option", a noninteractive sh can very well be POSIX-compatible. (Also see `posh` for example.)

I think we have enough better interactive shells packaged, so imo WONTFIX.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ISSUE] [CLOSED] Bug: The configure option of dash is not POSIX compatible.
  2022-02-07 10:58 [ISSUE] Bug: The configure option of dash is not POSIX compatible carbongreat13
  2022-02-08 16:12 ` leahneukirchen
@ 2022-02-08 16:12 ` leahneukirchen
  2022-08-12 10:41 ` erwin
  2 siblings, 0 replies; 4+ messages in thread
From: leahneukirchen @ 2022-02-08 16:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

Closed issue by carbongreat13 on void-packages repository

https://github.com/void-linux/void-packages/issues/35457

Description:
### Expected behavior
dash is a "POSIX-compliant Unix shell" in the description. However, the current build options are not POSIX-compatible. You need to include `--with-libedit` as a build option.

See: https://bugs.archlinux.org/task/36346



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug: The configure option of dash is not POSIX compatible.
  2022-02-07 10:58 [ISSUE] Bug: The configure option of dash is not POSIX compatible carbongreat13
  2022-02-08 16:12 ` leahneukirchen
  2022-02-08 16:12 ` [ISSUE] [CLOSED] " leahneukirchen
@ 2022-08-12 10:41 ` erwin
  2 siblings, 0 replies; 4+ messages in thread
From: erwin @ 2022-08-12 10:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1198 bytes --]

New comment by erwin on void-packages repository

https://github.com/void-linux/void-packages/issues/35457#issuecomment-1212973026

Comment:
I realize this issue is closed, but I would ask you to reconsider including `--with-libedit` with `dash` on usability grounds.

1, This week I did a full re-install of void, and while making some changes to `/etc/fstab` ended up getting dropped into single user mode a few times... Sure you can start another shell, but it's fairly painful to use dash without even basic command line editing.

2, Also, Docker is hardcoded to use `/bin/sh` for build files... So when using dash to troubleshoot individual `RUN` commands from a Dockerfile, would be nice to have some basic command line editing.

3, Those are two examples that I ran into this week. Without line editing, it's just so unfriendly... Like a trip back to a pre-Linux terminal.

4. It's only 219K (though dash is only 123K), and I don't think dash is statically linked anyway.

Bottom line, dash exists there because sometimes we do actually have to use it, and when we do have to, it's usually in a troublesome time (like single user mode).

Thanks for taking the time to read this.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-12 10:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-07 10:58 [ISSUE] Bug: The configure option of dash is not POSIX compatible carbongreat13
2022-02-08 16:12 ` leahneukirchen
2022-02-08 16:12 ` [ISSUE] [CLOSED] " leahneukirchen
2022-08-12 10:41 ` erwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).