help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Is the usage " address@hidden:3:$i}" documented


From: Peng Yu
Subject: Re: [Help-bash] Is the usage " address@hidden:3:$i}" documented
Date: Wed, 1 Apr 2015 17:18:06 -0500

On Wed, Apr 1, 2015 at 4:31 PM, Eduardo A. Bustamante López
<address@hidden> wrote:
> I noticed that you're asking lots of things that are explained in the bash
> manual, but for some reason, you seem to be looking just at a section at a
> time.
>
> The manual is meant to be read completely, at least once, Then, most of the
> stuff you ask about will make sense.

It depends on when. If one first read the manual, then probably it is
better to read it completely. But when one wants to check it as a
reference, one wants to quickly find the information needed without
having to read anything unnecessary. For example, perl has `perl -f`
to check for function use. Can you imagine one will read all document
regrading all functions in perl first?

I'd say, this is one shortcoming of the current bash doc. It would be
better to make some kind of quick search index so that one can just go
the place for check the reference.

I am current making a local index on my own as show below
(incomplete). But I believe this should be the direction to go. (BTW,
I did read the manual some time ago, but I don't remember a lot of
details after a while. This is one of my motivations to make the
index.)

${
${/!assoc_array
${/!prefix
${/#
${/+
${/:
${/:(-
${/:+
${/:-
${/::
${/array
${/array/[
${/array/[/*
${/array/[/*/:
${/array/[/-index
${/array/[/@
${/array/[/@/:-offset
${/array/[/@/:-offset/:
${/array/[/@/:-offset/:/:
${/array/[/@/:offset
${/array/[/@/:offset/:length
${/array/[/index
${/content
${/slash
${/slash/#
${/slash/%
${/slash/slash

> There are places where parameter expansion happens, and there's no need to
> specify that in each of these places. That'll create a huge unreadable mess.



-- 
Regards,
Peng



reply via email to

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