Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ${var:1:1:=y}



On 02/03/2015 10:25 PM, Bart Schaefer wrote:
>   All builtin commands other than precommand modifiers, even those that
>   have no options, can be given the argument `--' to terminate option
>   processing.  This indicates that the following words are non-option
>   arguments, but is otherwise ignored.  This is useful in cases where
>   arguments to the command may begin with `-'.  For historical reasons,
>   most builtin commands also recognize a single `-' in a separate word
>   for this purpose; note that this is less standard and use of `--' is
>   recommended.
printf , test/[, set -A and maybe a few others are exceptions to those
rules.



Messages sorted by: Reverse Date, Date, Thread, Author