Sunday, August 16, 2020

Re: Error in bash syntax file

Regarding the below commentary by me in response to Chip, upon which Tony saw fit to comment (by quoting the bash manual):

I have no need for manual quoting or any lack of understanding about how @ works. I was merely responding to Chip's implicit statement that there's nothing in the bash manual explicitly mentioning the ${@:expr:expr} syntax. In agreement with Chip, I was noting that there is adequate documentation therein of what @ does and of what ${var:expr:expr} does, but you sort of have to "read between the lines" to put the two together.

With that said, I think we have reached end of thread.

On Saturday, August 15, 2020, 12:13:06 PM EDT, 'J S' via vim_use <vim_use@googlegroups.com> wrote:

> Hmm, that format, ${@:var1:var2} doesn't appear to be explicitly
> mentioned in the bash man page (although ${parameter:var1:var2} is).

I don't know if it is ever explicitly mentioned, but it is pretty clear that @ can generally be used throughout to refer to all the args together, sort of as if they were all concatenated together. I find the bash man page large and complicated, so I can't say for sure how explicitly stated this is.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/1640953580.2058364.1597597099446%40mail.yahoo.com.

No comments: