* Re: Check if option given in short notation (e.g. -9) is set [not found] <CAKc7PVBs3Vvr1UuYWQRkGY8P1CQ6JDCxvukO7zdndBj=HOLs-A__43052.9993762777$1453815322$gmane$org@mail.gmail.com> @ 2016-01-26 13:51 ` Christian Neukirchen 0 siblings, 0 replies; only message in thread From: Christian Neukirchen @ 2016-01-26 13:51 UTC (permalink / raw) To: zsh-workers Sebastian Gniazdowski <sgniazdowski@gmail.com> writes: > Hello > [[ -o "-9" ]] doesn't work. Is there any way to check option given in > such format, besides holding an associative array that would assign > long name to each short name? Perhaps [[ $- = *9* ]] ? -- Christian Neukirchen <chneukirchen@gmail.com> http://chneukirchen.org ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-26 13:52 UTC | newest] Thread overview: (only message) (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <CAKc7PVBs3Vvr1UuYWQRkGY8P1CQ6JDCxvukO7zdndBj=HOLs-A__43052.9993762777$1453815322$gmane$org@mail.gmail.com> 2016-01-26 13:51 ` Check if option given in short notation (e.g. -9) is set Christian Neukirchen
Code repositories for project(s) associated with this public inbox https://git.vuxu.org/mirror/zsh/ This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).