bug-bash
[Top][All Lists]
Advanced

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

bash.1: Mention that substring expansion also works for special paramete


From: Merlin Büge
Subject: bash.1: Mention that substring expansion also works for special parameter *
Date: Sun, 3 Apr 2022 21:31:19 +0200

Hi,

currently bash(1) contains:

> ${parameter:offset:length}
> Substring Expansion.  Expands to up to length characters of the value of
> parameter starting at the character specified by offset.  If parameter is @,
> an indexed array subscripted by @ or *, or an associative array name, the
> results differ as described below.
> 
> [...]
> 
> If parameter is @, the result is length positional parameters beginning at
> offset.

I noticed that Substring Expansion also works for the special parameter *.
Maybe it should be included in this section of the man page?

Regards,
-- 
Merlin Büge



reply via email to

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