Top "Dash-shell" questions

A POSIX-compliant shell implementation that aims to be as small as possible.

Run bash script with sh

I have bash script and it requires bash. Another person try to run it with sh script_name.sh And …

linux bash shell sh dash-shell
bash, dash and string comparison

I am trying to compare two strings in a simple shell script. I was using /bin/sh instead of /bin/…

bash dash-shell string-comparison
syntax of for loop in linux shell scripting

I have a problem implementing a for loop. I get this error when I execute my script test1.sh: 2: Syntax …

linux bash shell for-loop dash-shell
Dash double semicolon (;;) syntax

I'm tried to find way to run multiple commands in parallel in sh and wait for it completion. I've found …

syntax sh dash-shell
Redirector "<<<" in Ubuntu?

I'm getting this error Syntax error: redirection unexpected in the line: if grep -q "^127.0.0." <<< "$RESULT" How I …

bash ubuntu dash-shell
Busybox sh won't execute the bash script

I have a small script called test.sh which prints the value based on the index given. #!/bin/sh days_…

bash sh busybox dash-shell
Arrays in a POSIX compliant shell

According to this reference sheet on hyperpolyglot.org, the following syntax can be used to set an array. i=(1 2 3) But …

arrays bash posix dash-shell
How to migrate scripts from bash to dash?

I'd like to avoid installing bash on every new Debian 6 install. So I need to convert all my bash scripts …

bash dash-shell