Go to file
Hayashi Naoyuki d771456a63 Added support for OpenSolaris on AArch64 and RISC-V 2021-07-26 01:38:59 +09:00
CWRU bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
builtins Bash-5.1 patch 2: fix wait -n -p var with no jobs not leaving var unset 2020-12-19 14:27:54 -05:00
cross-build Added support for OpenSolaris on AArch64 and RISC-V 2021-07-26 01:38:59 +09:00
doc bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
examples bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
include bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
lib Bash-5.1 patch 7: fix version comparisons in readline startup files 2021-05-04 14:31:05 -04:00
m4 bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
po Bash-5.1 updated translations 2021-02-20 16:38:12 -05:00
support Added support for OpenSolaris on AArch64 and RISC-V 2021-07-26 01:38:59 +09:00
tests bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
.gitignore Bash-5.1 updated translations 2020-12-16 15:10:44 -05:00
ABOUT-NLS bash-5.0 distribution sources and documentation 2019-01-07 09:27:52 -05:00
AUTHORS Bash-4.3 distribution sources and documentation 2014-02-26 09:36:43 -05:00
CHANGES bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
COMPAT bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
COPYING Imported from ../bash-4.0-rc1.tar.gz. 2009-09-12 16:47:00 +00:00
ChangeLog Bash-4.2 distribution sources and documentation 2011-11-22 19:11:26 -05:00
INSTALL bash-5.0 distribution sources and documentation 2019-01-07 09:27:52 -05:00
MANIFEST bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
MANIFEST.doc Imported from ../bash-4.0.tar.gz. 2009-09-12 16:47:02 +00:00
Makefile.in Bash-5.1 patch 1: add dependency to Makefile to fix highly parallel builds 2020-12-19 14:27:08 -05:00
NEWS bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
NOTES bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
POSIX bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
RBASH bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
README bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
Y2K Imported from ../bash-3.0.tar.gz. 2009-09-12 16:46:56 +00:00
aclocal.m4 bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
alias.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
alias.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
array.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
array.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
arrayfunc.c Bash-5.1 patch 5: fix memory leaks in compound array assignments 2021-05-04 14:29:06 -04:00
arrayfunc.h Bash-5.1 patch 4: fix key-value pair associative array assignment word expansions 2020-12-19 14:30:13 -05:00
assoc.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
assoc.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
bashansi.h Imported from ../bash-4.0-rc1.tar.gz. 2009-09-12 16:47:00 +00:00
bashhist.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
bashhist.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
bashintl.h bash-5.0 distribution sources and documentation 2019-01-07 09:27:52 -05:00
bashjmp.h bash-5.0 distribution sources and documentation 2019-01-07 09:27:52 -05:00
bashline.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
bashline.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
bashtypes.h Bash-4.1 distribution source 2011-11-21 20:51:19 -05:00
bracecomp.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
braces.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
builtins.h bash-5.0 distribution sources and documentation 2019-01-07 09:27:52 -05:00
command.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
config-bot.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
config-top.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
config.h.in bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
configure Added support for OpenSolaris on AArch64 and RISC-V 2021-07-26 01:38:59 +09:00
configure.ac Added support for OpenSolaris on AArch64 and RISC-V 2021-07-26 01:38:59 +09:00
configure.in Bash-4.2 distribution sources and documentation 2011-11-22 19:11:26 -05:00
conftypes.h Imported from ../bash-4.0-rc1.tar.gz. 2009-09-12 16:47:00 +00:00
copy_cmd.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
dispose_cmd.c Bash-4.1 distribution source 2011-11-21 20:51:19 -05:00
dispose_cmd.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
error.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
error.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
eval.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
execute_cmd.c Bash-5.1 patch 8: clean up FIFOs created by redirections in child processes 2021-05-04 14:31:53 -04:00
execute_cmd.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
expr.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
externs.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
findcmd.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
findcmd.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
flags.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
flags.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
general.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
general.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
hashcmd.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
hashcmd.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
hashlib.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
hashlib.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
input.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
input.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
jobs.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
jobs.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
list.c Imported from ../bash-4.0-rc1.tar.gz. 2009-09-12 16:47:00 +00:00
locale.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
mailcheck.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
mailcheck.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
make_cmd.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
make_cmd.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
mksyntax.c Bash-4.3 distribution sources and documentation 2014-02-26 09:36:43 -05:00
nojobs.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
parse.y bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
parser-built bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
parser.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
patchlevel.h Bash-5.1 patch 8: clean up FIFOs created by redirections in child processes 2021-05-04 14:31:53 -04:00
pathexp.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
pathexp.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
pathnames.h.in Imported from ../bash-4.0-rc1.tar.gz. 2009-09-12 16:47:00 +00:00
pcomplete.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
pcomplete.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
pcomplib.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
print_cmd.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
quit.h Bash-4.4 distribution sources and documentation 2016-09-15 16:59:08 -04:00
redir.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
redir.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
shell.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
shell.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
sig.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
sig.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
siglist.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
siglist.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
stringlib.c Bash-4.4 distribution sources and documentation 2016-09-15 16:59:08 -04:00
subst.c Bash-5.1 patch 6: make sure child processes forked to execute command substitutions are in the right process group 2021-05-04 14:30:17 -04:00
subst.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
syntax.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
test.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
test.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
trap.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
trap.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
unwind_prot.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
unwind_prot.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
variables.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
variables.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
version.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
xmalloc.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
xmalloc.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
y.tab.c bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
y.tab.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00

README

Introduction
============

This is GNU Bash, version 5.1.  Bash is the GNU Project's Bourne
Again SHell, a complete implementation of the POSIX shell spec,
but also with interactive command line editing, job control on
architectures that support it, csh-like features such as history
substitution and brace expansion, and a slew of other features. 
For more information on the features of Bash that are new to this
type of shell, see the file `doc/bashref.texi'.  There is also a
large Unix-style man page.  The man page is the definitive description
of the shell's features. 

See the file POSIX for a discussion of how the Bash defaults differ
from the POSIX spec and a description of the Bash `posix mode'.

There are some user-visible incompatibilities between this version
of Bash and previous widely-distributed versions, bash-4.4 and
bash-5.0.  For details, see the file COMPAT.  The NEWS file tersely
lists features that are new in this release. 

Bash is free software, distributed under the terms of the [GNU] General
Public License as published by the Free Software Foundation,
version 3 of the License (or any later version).  For more information,
see the file COPYING. 

A number of frequently-asked questions are answered in the file
`doc/FAQ'.

To compile Bash, type `./configure', then `make'.  Bash auto-configures
the build process, so no further intervention should be necessary.  Bash
builds with `gcc' by default if it is available.  If you want to use `cc'
instead, type

	CC=cc ./configure

if you are using a Bourne-style shell.  If you are not, the following
may work:

	env CC=cc ./configure

Read the file INSTALL in this directory for more information about how
to customize and control the build process.  The file NOTES contains
platform-specific installation and configuration information.

If you are a csh user and wish to convert your csh aliases to Bash
aliases, you may wish to use the script `examples/misc/alias-conv.sh'
as a starting point.  The script `examples/misc/cshtobash' is a
more ambitious script that attempts to do a more complete job.

Reporting Bugs
==============

Bug reports for bash should be sent to:

	bug-bash@gnu.org

using the `bashbug' program that is built and installed at the same
time as bash.

The discussion list `bug-bash@gnu.org' often contains information
about new ports of Bash, or discussions of new features or behavior
changes that people would like.  This mailing list is also available
as a usenet newsgroup: gnu.bash.bug. 

When you send a bug report, please use the `bashbug' program that is
built at the same time as bash.  If bash fails to build, try building
bashbug directly with `make bashbug'.  If you cannot build `bashbug',
please send mail to bug-bash@gnu.org with the following information:

	* the version number and release status of Bash (e.g., 2.05a-release)
	* the machine and OS that it is running on (you may run
	  `bashversion -l' from the bash build directory for this information)
	* a list of the compilation flags or the contents of `config.h', if
	  appropriate
	* a description of the bug
	* a recipe for recreating the bug reliably
	* a fix for the bug if you have one!

The `bashbug' program includes much of this automatically.

Questions and requests for help with bash and bash programming may be
sent to the help-bash@gnu.org mailing list.

If you would like to contact the Bash maintainers directly, send mail
to bash-maintainers@gnu.org.

While the Bash maintainers do not promise to fix all bugs, we would
like this shell to be the best that we can make it.

Other Packages
==============

This distribution includes, in examples/bash-completion, a recent version
of the `bash-completion' package, which provides programmable completions
for a number of commands. It's available as a package in many distributions,
and that is the first place from which to obtain it. If it's not a package
from your vendor, you may install the included version.

The latest version of bash-completion is always available from
https://github.com/scop/bash-completion.

Enjoy!

Chet Ramey
chet.ramey@case.edu

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.  This file is offered as-is,
without any warranty.