No description
  • C 75.3%
  • Shell 11.8%
  • M4 3.9%
  • Yacc 3.1%
  • Makefile 2.9%
  • Other 2.9%
Find a file
2025-12-10 11:30:51 -05:00
builtins Bash-5.3 patch 4: fix issue with source when read(2) returns fewer characters than fstat(2) says are available 2025-11-26 12:46:21 -05:00
cross-build Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
CWRU Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
doc Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
examples Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
include Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
lib Bash-5.3 patch 9: fix crash when interrupting reverse i-search with ^C 2025-12-10 11:30:51 -05:00
m4 Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
po Bash-5.3: updated translations and gettext gmo files 2025-07-29 11:46:07 -04:00
support Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
tests Bash-5.3 patch 3: remove internal quoting that causes failures when expanding nested array subscripts in an arithmetic context 2025-07-23 15:52:32 -04:00
.gitignore bash-5.2 updated translations; remove tags file 2023-11-14 09:35:40 -05:00
ABOUT-NLS bash-5.0 distribution sources and documentation 2019-01-07 09:27:52 -05:00
aclocal.m4 Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
alias.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
alias.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
array.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
array.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
array2.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
arrayfunc.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
arrayfunc.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
assoc.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
assoc.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
AUTHORS Bash-4.3 distribution sources and documentation 2014-02-26 09:36:43 -05:00
bashansi.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
bashhist.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
bashhist.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
bashintl.h bash-5.0 distribution sources and documentation 2019-01-07 09:27:52 -05:00
bashjmp.h bash-5.2 distribution sources and documentation 2022-09-26 11:49:46 -04:00
bashline.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
bashline.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
bashtypes.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
bracecomp.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
braces.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
buildconf.h.in Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
builtins.h bash-5.2 distribution sources and documentation 2022-09-26 11:49:46 -04:00
ChangeLog Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
CHANGES Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
command.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
COMPAT Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
config-bot.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
config-top.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
config.h.in Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
configure Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
configure.ac Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
configure~ Bash-5.3: updated translations and gettext gmo files 2025-07-29 11:46:07 -04:00
conftypes.h Imported from ../bash-4.0-rc1.tar.gz. 2009-09-12 16:47:00 +00:00
copy_cmd.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
COPYING Imported from ../bash-4.0-rc1.tar.gz. 2009-09-12 16:47:00 +00:00
dispose_cmd.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
dispose_cmd.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
error.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
error.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
eval.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
execute_cmd.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
execute_cmd.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
expr.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
externs.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
findcmd.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
findcmd.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
flags.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
flags.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
general.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
general.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
hashcmd.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
hashcmd.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
hashlib.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
hashlib.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
input.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
input.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
INSTALL Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
jobs.c Bash-5.3 patch 1: fix posix-mode issue with "wait -n", where it can return process IDs outside the requested set 2025-07-23 15:42:17 -04:00
jobs.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
list.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
locale.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
mailcheck.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
mailcheck.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
make_cmd.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
make_cmd.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
Makefile.in Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
MANIFEST Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
mksyntax.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
NEWS Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
nojobs.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
NOTES bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
parse.y Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
parser-built Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
parser.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
patchlevel.h Bash-5.3 patch 9: fix crash when interrupting reverse i-search with ^C 2025-12-10 11:30:51 -05:00
pathexp.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
pathexp.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
pathnames.h.in Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
pcomplete.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
pcomplete.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
pcomplib.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
POSIX Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
print_cmd.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
quit.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
RBASH Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
README Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
redir.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
redir.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
shell.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
shell.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
sig.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
sig.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
siglist.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
siglist.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
stringlib.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
subst.c Bash-5.3 patch 7: fix issue where nofork command substitutions can affect redirections in the calling shell 2025-11-26 12:50:54 -05:00
subst.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
syntax.h bash-5.1 distribution sources and documentation 2020-12-06 15:51:17 -05:00
test.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
test.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
trap.c Bash-5.3 patch 5: fix crash when restoring default disposition for SIGINT in asynchronous subshell 2025-11-26 12:47:49 -05:00
trap.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
unwind_prot.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
unwind_prot.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
variables.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
variables.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
version.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
xmalloc.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
xmalloc.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
y.tab.c Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
y.tab.h Bash-5.3 distribution sources and documentation 2025-07-03 16:15:36 -04:00
Y2K Imported from ../bash-3.0.tar.gz. 2009-09-12 16:46:56 +00:00

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

This is GNU Bash, version 5.3. 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.info'.  There is also a
large Unix-style man page. If the info fie and the man page conflict,
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-5.0, bash-5.1,
and bash-5.2. The COMPAT file has the details. 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'. (That file is no longer updated.)

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, including how to build in a
directory different from the source directory. 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.

The `help-bash@gnu.org' mailing list is used for questions about
using bash.

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.

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

If it's not a package from your vendor, you may install the included version.

There are a number of example dynamically loadable builtin commands in the
examples/loadables subdirectory. These are built and installed when bash is
installed. If you want to test or experiment with these builtins before
installing bash, you can run `make loadables' to build them.

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.