Questions tagged [bourne-shell]

The Bourne shell is a historical implementation of /bin/sh

The Bourne shell was the implementation of /bin/sh on Unix systems for a long time, from Version 7 Unix in 1977 to the the early 2000s. It was the starting point for the POSIX shell standard, which builds on the Bourne shell adds a few features, mostly from ksh. It has now mostly been phased out in favor of other implementations that follow the POSIX standard, such as ksh , bash and various flavors of ash (e.g. . The Bourne shell is not free software and thus is not available on Linux or BSD.

Use this tag only for questions about genuine Bourne shells. For questions about Bourne/POSIX-style shells in general, use .

56 questions
3
votes
3 answers

Bourne shell: trailing `-` operator in parameter substitution

I'm reading a shell script for adding a progress bar to certain processes (found here). I'm having trouble understanding this (optional) line: #BAR_EXT=${BAR_EXT-} The comment says that this will add an extension to each file, and maybe I just need…
wubzy
  • 33
1
vote
1 answer

Why is Bourne shell considered obsolete?

Is the relation between Bourne shell and Bash similar to that of C and C++(if so it would signify that both have their place as a shell)? Whenever I read something about shells it always says that Bourne shell is dead and obsolete, but why?
john
  • 33
  • 4