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

Re: Next improve of completion of modprobe module parameters



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