Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Proposal to remove Bash from "essentials"

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Proposal to remove Bash from "essentials"

#1 Post by GarryRicketson »

I was browsing the wiki, and stumbled on to this,

https://wiki.debian.org/Proposals/EssentialOnDiet

and
https://wiki.debian.org/Proposals/Remov ... mEssential

I am not really sure what to think about this,...I don't like the idea myself.

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: Proposal to remove Bash from "essentials"

#2 Post by 4D696B65 »

dash has been default for a long time now so I don't mind a little cleaning out of the essential closet.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Proposal to remove Bash from "essentials"

#3 Post by Head_on_a_Stick »

Yes, I agree. EDIT: with 4D696B5, I mean :)

Bash is bloat :P

Code: Select all

TheLab: ~ $ echo $0
-ksh
deadbang

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Proposal to remove Bash from "essentials"

#4 Post by debiman »

GarryRicketson wrote:I am not really sure what to think about this
as already stated, the default shell for debian is dash.
it is MUCH lighter & faster than bash.
bash is not really needed for a debian system to work, so by definition it's not essential!
i love coding in bash, but more and more often (esp. for very simple scripts) i consciously choose dash:

Code: Select all

#!/bin/sh == #!/bin/dash != #!/bin/bash

User avatar
cpoakes
Posts: 99
Joined: 2015-03-29 04:54

Re: Proposal to remove Bash from "essentials"

#5 Post by cpoakes »

Apples vs Oranges: "What is essential to run barebones debian?" vs "What is essential to my barebones working environment?" While bash may be essential for the OP's working environment, it is not essential to barebones debian (written for dash) or even other command line users (insert merits of your favorite shell here).

There are good arguments for both familiarity with Bourne/POSIX syntax and writing scripts with a #!/bin/sh shebang statement:
  1. They use the lighter/faster dash* in a debian environment.
  2. They are far more portable in *nix environments.
  3. Bash is not always available (busybox provides ash or even more restricted shells in very old versions).
* Ironically, dash is treated as a Bourne shell replacement but missing one feature (LINENO) to be 100% POSIX compliant.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Proposal to remove Bash from "essentials"

#6 Post by GarryRicketson »

Thanks on the replies, that helps clear up most of my confusion,
I also was reading some more on this, and it seems to come down
to "bash" still is essential because there are a lot of packages that depend
on "bash" still,
https://lists.debian.org/debian-devel/2 ... 00890.html
There is more in the thread.
Thanks

Post Reply