| Jari Aalto | ccc6cda | 1996-12-23 17:02:34 +0000 | [diff] [blame] | 1 | Introduction |
| 2 | ============ |
| Jari Aalto | 726f638 | 1996-08-26 18:22:31 +0000 | [diff] [blame] | 3 | |
| Jari Aalto | 3185942 | 2009-01-12 13:36:28 +0000 | [diff] [blame] | 4 | This is GNU Bash, version 4.0. Bash is the GNU Project's Bourne |
| Jari Aalto | ccc6cda | 1996-12-23 17:02:34 +0000 | [diff] [blame] | 5 | Again SHell, a complete implementation of the POSIX.2 shell spec, |
| Jari Aalto | 726f638 | 1996-08-26 18:22:31 +0000 | [diff] [blame] | 6 | but also with interactive command line editing, job control on |
| Jari Aalto | ccc6cda | 1996-12-23 17:02:34 +0000 | [diff] [blame] | 7 | architectures that support it, csh-like features such as history |
| 8 | substitution and brace expansion, and a slew of other features. |
| 9 | For more information on the features of Bash that are new to this |
| Jari Aalto | d166f04 | 1997-06-05 14:59:13 +0000 | [diff] [blame] | 10 | type of shell, see the file `doc/bashref.texi'. There is also a |
| 11 | large Unix-style man page. The man page is the definitive description |
| 12 | of the shell's features. |
| Jari Aalto | 726f638 | 1996-08-26 18:22:31 +0000 | [diff] [blame] | 13 | |
| Jari Aalto | b80f644 | 2004-07-27 13:29:18 +0000 | [diff] [blame] | 14 | See the file POSIX for a discussion of how the Bash defaults differ |
| Jari Aalto | ccc6cda | 1996-12-23 17:02:34 +0000 | [diff] [blame] | 15 | from the POSIX.2 spec and a description of the Bash `posix mode'. |
| Jari Aalto | 726f638 | 1996-08-26 18:22:31 +0000 | [diff] [blame] | 16 | |
| Jari Aalto | ccc6cda | 1996-12-23 17:02:34 +0000 | [diff] [blame] | 17 | There are some user-visible incompatibilities between this version |
| Jari Aalto | 3185942 | 2009-01-12 13:36:28 +0000 | [diff] [blame] | 18 | of Bash and previous widely-distributed versions, bash-2.05b and |
| 19 | bash-3.2. For details, see the file COMPAT. The NEWS file tersely |
| Jari Aalto | 0628567 | 2006-10-10 14:15:34 +0000 | [diff] [blame] | 20 | lists features that are new in this release. |
| Jari Aalto | ccc6cda | 1996-12-23 17:02:34 +0000 | [diff] [blame] | 21 | |
| Jari Aalto | 3185942 | 2009-01-12 13:36:28 +0000 | [diff] [blame] | 22 | Bash is free software, distributed under the terms of the [GNU] General |
| 23 | Public License as published by the Free Software Foundation, |
| 24 | version 3 of the License (or any later version). For more information, |
| 25 | see the file COPYING. |
| Jari Aalto | ccc6cda | 1996-12-23 17:02:34 +0000 | [diff] [blame] | 26 | |
| Jari Aalto | d166f04 | 1997-06-05 14:59:13 +0000 | [diff] [blame] | 27 | A number of frequently-asked questions are answered in the file |
| 28 | `doc/FAQ'. |
| 29 | |
| Jari Aalto | ccc6cda | 1996-12-23 17:02:34 +0000 | [diff] [blame] | 30 | To compile Bash, try typing `./configure', then `make'. Bash |
| 31 | auto-configures the build process, so no further intervention |
| 32 | should be necessary. Bash builds with `gcc' by default if it is |
| 33 | available. If you want to use `cc' instead, type |
| 34 | |
| 35 | CC=cc ./configure |
| 36 | |
| 37 | if you are using a Bourne-style shell. If you are not, the following |
| 38 | may work: |
| 39 | |
| 40 | env CC=cc ./configure |
| 41 | |
| 42 | Read the file INSTALL in this directory for more information about how |
| 43 | to customize and control the build process. The file NOTES contains |
| 44 | platform-specific installation and configuration information. |
| Jari Aalto | 726f638 | 1996-08-26 18:22:31 +0000 | [diff] [blame] | 45 | |
| 46 | If you are a csh user and wish to convert your csh aliases to Bash |
| Jari Aalto | ccc6cda | 1996-12-23 17:02:34 +0000 | [diff] [blame] | 47 | aliases, you may wish to use the script `examples/misc/alias-conv.sh' |
| Jari Aalto | d166f04 | 1997-06-05 14:59:13 +0000 | [diff] [blame] | 48 | as a starting point. The script `examples/misc/cshtobash' is a |
| 49 | more ambitious script that attempts to do a more complete job. |
| Jari Aalto | 726f638 | 1996-08-26 18:22:31 +0000 | [diff] [blame] | 50 | |
| Jari Aalto | ccc6cda | 1996-12-23 17:02:34 +0000 | [diff] [blame] | 51 | Reporting Bugs |
| 52 | ============== |
| 53 | |
| Jari Aalto | b72432f | 1999-02-19 17:11:39 +0000 | [diff] [blame] | 54 | Bug reports for bash should be sent to: |
| Jari Aalto | 726f638 | 1996-08-26 18:22:31 +0000 | [diff] [blame] | 55 | |
| Jari Aalto | bb70624 | 2000-03-17 21:46:59 +0000 | [diff] [blame] | 56 | bug-bash@gnu.org |
| Jari Aalto | 726f638 | 1996-08-26 18:22:31 +0000 | [diff] [blame] | 57 | |
| 58 | using the `bashbug' program that is built and installed at the same |
| 59 | time as bash. |
| 60 | |
| Jari Aalto | bb70624 | 2000-03-17 21:46:59 +0000 | [diff] [blame] | 61 | The discussion list `bug-bash@gnu.org' often contains information |
| 62 | about new ports of Bash, or discussions of new features or behavior |
| 63 | changes that people would like. This mailing list is also available |
| 64 | as a usenet newsgroup: gnu.bash.bug. |
| Jari Aalto | 726f638 | 1996-08-26 18:22:31 +0000 | [diff] [blame] | 65 | |
| Jari Aalto | d166f04 | 1997-06-05 14:59:13 +0000 | [diff] [blame] | 66 | When you send a bug report, please use the `bashbug' program that is |
| 67 | built at the same time as bash. If bash fails to build, try building |
| 68 | bashbug directly with `make bashbug'. If you cannot build `bashbug', |
| Jari Aalto | bb70624 | 2000-03-17 21:46:59 +0000 | [diff] [blame] | 69 | please send mail to bug-bash@gnu.org with the following information: |
| Jari Aalto | 726f638 | 1996-08-26 18:22:31 +0000 | [diff] [blame] | 70 | |
| Jari Aalto | 7117c2d | 2002-07-17 14:10:11 +0000 | [diff] [blame] | 71 | * the version number and release status of Bash (e.g., 2.05a-release) |
| 72 | * the machine and OS that it is running on (you may run |
| 73 | `bashversion -l' from the bash build directory for this information) |
| Jari Aalto | ccc6cda | 1996-12-23 17:02:34 +0000 | [diff] [blame] | 74 | * a list of the compilation flags or the contents of `config.h', if |
| 75 | appropriate |
| Jari Aalto | 726f638 | 1996-08-26 18:22:31 +0000 | [diff] [blame] | 76 | * a description of the bug |
| 77 | * a recipe for recreating the bug reliably |
| 78 | * a fix for the bug if you have one! |
| 79 | |
| 80 | The `bashbug' program includes much of this automatically. |
| 81 | |
| Jari Aalto | d166f04 | 1997-06-05 14:59:13 +0000 | [diff] [blame] | 82 | If you would like to contact the Bash maintainers directly, send mail |
| Jari Aalto | bb70624 | 2000-03-17 21:46:59 +0000 | [diff] [blame] | 83 | to bash-maintainers@gnu.org. |
| Jari Aalto | ccc6cda | 1996-12-23 17:02:34 +0000 | [diff] [blame] | 84 | |
| Jari Aalto | 726f638 | 1996-08-26 18:22:31 +0000 | [diff] [blame] | 85 | While the Bash maintainers do not promise to fix all bugs, we would |
| 86 | like this shell to be the best that we can make it. |
| 87 | |
| 88 | Enjoy! |
| 89 | |
| 90 | Chet Ramey |
| Jari Aalto | 0628567 | 2006-10-10 14:15:34 +0000 | [diff] [blame] | 91 | chet.ramey@case.edu |