Skip to content

Instantly share code, notes, and snippets.

@dharry
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dharry/a6f31e67c3a4ae77828b to your computer and use it in GitHub Desktop.
Save dharry/a6f31e67c3a4ae77828b to your computer and use it in GitHub Desktop.
$ curl -O "http://ftp.gnu.org/gnu/bash/bash-2.05b-patches/bash205b-00[1-9]"
$ curl -O "http://ftp.gnu.org/gnu/bash/bash-2.05b.tar.gz"
$ tar xvzf bash-2.05b.tar.gz
$ cd bash-2.05b
$ for x in ../bash205b-00*
> do
> patch -p0 < $x
> done
patching file lib/readline/bind.c
patching file lib/readline/readline.c
patching file bashline.c
patching file subst.c
patching file lib/readline/mbutil.c
patching file lib/readline/display.c
patching file lib/readline/vi_mode.c
patching file builtins/common.h
patching file builtins/evalstring.c
patching file variables.c
patching file parse.y
$ ./configure
$ make
$ ls -l bash
-rwxr-xr-x 1 dharry 543 2947887 Sep 27 23:35 bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment