Questions tagged [dash-shell]

A POSIX-compliant shell implementation that aims to be as small as possible. Please use the [hyphen] tag instead of [dash] if your question is about the "-" character.

The Debian Almquist shell (dash), a modern replacement for , is a POSIX-compliant Unix shell. It requires less disk space than , for example, but it is also less feature-rich.

Resources

151 questions
-4
votes
1 answer

Syntax error in number base converter

I'm trying to write a program that converts number bases. For example, when converting from base 10 to base 2, the input 5 will result in the output 101. This is my code: #!/bin/sh while read line do convert_base() { number=$1 inputbase=$2 …
1 2 3
10
11