Dunno cuz I ain't using Zsh, but if you know the fixed item is the third, why not just do "i=( $(whereis libcrypto) ); echo ${i[2]}".
If you want to do it in one go you gotta remember Bash does inside-out variable substitution, so I would guess (but I'm no Bash guru either) you would need some wicked "eval" construct.
There ain't no such thing as stupid questions.
NOT asking, that's stupid.
|