aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-05-05 12:45:18 -0500
committerRob Landley <rob@landley.net>2020-05-05 12:45:18 -0500
commiteae46378f7bfe5f39c717da8eac2a50230509342 (patch)
treeebd6bfe051d2481a6480bf91eb680b5610df2cad
parente26b8368a94163148fc3c94a346151e22cede10c (diff)
downloadtoybox-eae46378f7bfe5f39c717da8eac2a50230509342.tar.gz
Link to bash man page.
-rw-r--r--toys/pending/sh.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/toys/pending/sh.c b/toys/pending/sh.c
index 4abe6579..07ba9b72 100644
--- a/toys/pending/sh.c
+++ b/toys/pending/sh.c
@@ -2,11 +2,14 @@
*
* Copyright 2006 Rob Landley <rob@landley.net>
*
- * 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