From eae46378f7bfe5f39c717da8eac2a50230509342 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 5 May 2020 12:45:18 -0500 Subject: [PATCH] Link to bash man page. --- toys/pending/sh.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/toys/pending/sh.c b/toys/pending/sh.c index 4abe65794..07ba9b725 100644 --- a/toys/pending/sh.c +++ b/toys/pending/sh.c @@ -2,11 +2,14 @@ * * Copyright 2006 Rob Landley * - * The POSIX-2008/SUSv4 spec for this is at: + * This shell aims for bash compatibility. The bash man page is at: + * http://man7.org/linux/man-pages/man1/bash.1.html + * + * The POSIX-2008/SUSv4 shell spec is at: * http://opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html * and http://opengroup.org/onlinepubs/9699919799/utilities/sh.html * - * The first link describes the following shell builtins: + * The chap02 link describes the following shell builtins: * * break : continue exit * . eval exec export readonly return set shift times trap unset @@ -17,8 +20,6 @@ * cd ulimit umask * alias bg command fc fg getopts hash jobs kill read type unalias wait * - * Things like the bash man page are good to read too. - * * deviations from posix: don't care about $LANG or $LC_ALL * TODO: test that $PS1 color changes work without stupid \[ \] hack