Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Next improve of completion of modprobe module parameters
- X-seq: zsh-workers 25756
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Next improve of completion of modprobe module parameters
- Date: Fri, 26 Sep 2008 19:06:49 -0700
- In-reply-to: <slrngdqot6.mvh.joerg@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <slrngdqot6.mvh.joerg@xxxxxxxxxxxx>
On Sep 26, 10:35pm, joerg@xxxxxxxxxxxx wrote:
}
} % a=12\|4
} % b=( {10..15} )
} % echo ${b:#($a)}
} 10 11 12 13 14 15
} % eval "echo \${b:#($a)}"
} 10 11 13 14 15
}
} Why doesn't the non-eval version work?
echo ${b:#($~a)}
The "|" in $a is implicitly quoted unless you use $~a.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author