bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some proposals concerning bash manual


From: Ingo
Subject: Some proposals concerning bash manual
Date: Tue, 18 May 2021 20:44:09 +0200
User-agent: K-9 Mail for Android

Hello,

during my job related reentry into bash scripting after 23 years of work with 
other platforms (e.g. mainframes) I made some extensions/changes to a printed 
version of bash manual edition 4.4 of 2016 which might be useful also for 
others.

Here are they:

Page 18, section 3.4 Shell Parameters
...All values undergo tilde expansion, parameter and variable expansion, 
command substitution *), arithmetic expansion and quote removal (detailed 
below).
...
Footnote *) E.g. the output of a pipe may be assigned to a parameter using 
command substitution, see page 29.


Page 19, section 3.4.1 Positional Parameters
...The set and shift builtins are used to set and unset them (see Chapter 4 
[Shell Builin Commands], page 46).      (not 42)


Page 39, section 3.7.5 Exit Status
...
All builtins return an exit status of 2 to indicate incorrect usage, generally 
invalid options or missing arguments.
The exit status is accessible via special parameter $?, see page 20.


Page 42, section 4.1 Bourne Shell Builtins
...
. (a period)
...
If filename is not found, or cannot be read, the return status is non-zero. No 
execution right needed to be set for filename. No subshell opened so filename 
shouldn't contain final exit. This builtin is equivalent to source.


Page 46
...
return
...
set (see page 60)
shift
...



Page 171, section D.5 Concept Index
A
...
arrays.......91
assigning values.........18
assigning pipe output.......18 (new footnote)
...
H
here document......35
history builtins......137
...


Hope this improves.

Best wishes and many thanks for your awesome and yet free work :-)
Ingo Kelmes, Cologne


-- 
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]