Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Check if option given in short notation (e.g. -9) is set
- X-seq: zsh-users 21177
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Check if option given in short notation (e.g. -9) is set
- Date: Tue, 26 Jan 2016 14:33:29 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=fsN2bsvmvjcTp4jmW0q4jhvcwl1tDquG6XHTRsB+O00=; b=vv/9k8edKxg9MxajWXXcHsHpgJ7r4VR+L16P/yh5FlztXpFfH8FAvatwJEq+Pht87U v6gqb9qVY1iFTWRyM4tfhdbrKqWScsxXt6Hn6+s+rsewTt1YeVCtER3ipvUF7Ga+nR6z 2qcriQ2XEpVygaXNdlM4xjtJQVM5iOu8XPQ731yfmN9Vo91DaLKYezdsiKo8JvCM30Sk HQbxur2Hdvi33dfVePfL/RT08f35BSGUnsX5omsqn3njmw/bZIchpHYqewozKk1h4Dck TfFeYukiHkXAYm5UTFbPHeuFqV1BaagMFkLJZ2W7lN4eG3mLeFr5cJE6naJZLC4GTK6t jeFQ==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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?
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author