Hacker News new | ask | show | jobs
by RickS 3289 days ago
People, we've gotta stop naming things after generic jargon.

This is probably the 5th or 6th "Dash" named product I've seen in the last 2 years.

There's:

Dash, the amazon order button

Dash, the offline API docs

Dash, the prepaid debit card

Dash, the restaurant payment service (acquired)

Dash, the OP's link

and probably a few more I'm forgetting.

5 comments

DASH (Debian Alchemist SHell). I believe it's the default shell for Debian and Ubuntu (I'm a Fedora/CentOS user myself). I remember hitting some edge cases where some bespoke shell scripts don't work correctly on Ubuntu because DASH is a "slim" Bash alternative, so it doesn't have all the "bashisms".
> I remember hitting some edge cases where some bespoke shell scripts don't work correctly on Ubuntu because DASH is a "slim" Bash alternative, so it doesn't have all the "bashisms".

People say that, but usually the reason their scripts are not working is that they are using bashisms while retaining

    #!/usr/bin/env sh
or

    #!/bin/sh
rather than doing as they should when writing shell scripts that are using bash features;

    #!/usr/bin/env bash
I think it boils down to a lot of people being unaware of the difference between what is POSIX compliant and what is not, or even that there is such a distinction to be made.

I write most of my shell scripts targeting bash, but I always use the hashbang that invokes to bash, and I also name my scripts like somescript.bash when it's a bash script and somescript.sh when it's POSIX shell.

More specifically, it aims to be POSIX `sh`-compatible, which gives a large speed boost in many cases.

There's a `checkbashisms` command in Debian's `devscripts` package to ensure scripts will work correctly under both shells.

Well, I seem to recall (but can't find) Dash, the programming language, and then there was Dash, the programming language from Google, which got renamed “Dart” because of the conflict, and there's now a newer Dash programming language [0].

[0] For the last of the three, http://www.dashplay.net

There's also DASH, the MPEG streaming protocol.
There's also DASH, the washing powder.