diff --git a/Bash2pyManual.html b/Bash2pyManual.html index 310c5f1..95213cb 100644 --- a/Bash2pyManual.html +++ b/Bash2pyManual.html @@ -6,7 +6,7 @@ This is Edition 4.2, last updated 28 December 2010, of The GNU Bash Reference Manual, for Bash, Version 4.2. -Hacked to document Bash2py by Ian Davis +Hacked to document Bash2py by Michael Wood, Ian Davis Copyright (C) 1988-2011 Free Software Foundation, Inc. @@ -363,16 +363,16 @@

1 Introduction

1.1 What is Bash2py?

-Bash2py is a rough and ready translator from Bash to Python. Python is -generally considered superior to Bash, and it is therefore desirable to +Bash2py is a rough and ready transpiler from Bash to Python. Python is +a more feature-rich language than Bash, and it is therefore desirable to be able to migrate from legacy Bash code, to Python.

Bash is the shell, or command language interpreter, for the GNU operating system. The name is an acronym for the ‘Bourne-Again SHell’, -a pun on Stephen Bourne, the author of the direct ancestor of -the current Unix shell sh, +named after Stephen Bourne, author of +the Unix shell sh, the direct ancestor of bash, which appeared in the Seventh Edition Bell Labs Research version of Unix.

@@ -1483,7 +1483,7 @@

3.2.4.2 Conditional Constructs

syntax. If the operator was != the result of such a regular expression comparison is negated.

-

An additional binary operator, ‘=~’, is available, with the same +

An additional binary operator, ‘=~’, is available, with the same precedence as ‘==’ and ‘!=’. When it is used, the string to the right of the operator is considered an extended regular expression and matched accordingly (as in regex3)). @@ -2503,7 +2503,7 @@

3.5.3 Shell Parameter Expansion

- +
${parameter:offset}
${parameter:offset:length}

Expands to up to length characters of parameter @@ -2918,7 +2918,7 @@

3.5.8.1 Pattern Matching

The special pattern characters have the following meanings -in Bash but not necessarily Python: +that we have attempted to translate into Python equivalents:

*

Matches any string, including the null string. @@ -4727,7 +4727,7 @@

4.2 Bash Builtin Commands

If the -e option is given, interpretation of the following backslash-escaped characters is enabled.

-Output for python assumes the version 3 format of the print statement. For earlier versions the (..) around the text will print, and the -n option will generate a syntax error. +Bash2py generates its output in python version 3.

The -E option disables the interpretation of these escape characters, @@ -12675,8 +12675,8 @@

Appendix A Reporting Bugs

ftp://ftp.gnu.org/pub/gnu/bash/. The latest version of Bash2Py is available at: - -www.swag.uwaterloo.ca/bash2py + +https://github.com/clarity20/bash2py

Once you have determined that a bug actually exists, use the @@ -12686,8 +12686,8 @@

Appendix A Reporting Bugs

to bug-bash@gnu.org or posted to the Usenet newsgroup gnu.bash.bug. Contact information for Bash2Py can be found at: - -www.swag.uwaterloo.ca/bash2py + +https://github.com/clarity20/bash2py

All bug reports should include: