Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Which options besides SH_GLOB better to disable when emulating Bash?
- X-seq: zsh-users 24245
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Which options besides SH_GLOB better to disable when emulating Bash?
- Date: Thu, 12 Sep 2019 02:41:52 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=YuCzfWBu46hN2KoT5uZeJzwnRkld63V5lNHNO1iCfX0=; b=IlU1aVtDuHrroNg+PzBTHnzoWU852FHAgoHuQjDE5erB4yUAbCi92xvhF2N0i45JVx k/mxHRcs84gtuTiqfi1VTOxgb9AmebEpux7fdpCVjJwBcVU68C2IcKbqVewAN9FOoKwA HaYgRoXI2SwWOf+W89/ZY2v2//yXqv1ArzGL+9sEHwfcrpecxk3isOz0HlYVUyr8HSS2 B6IVmwZKtOtlScE2aE/9/zCL0919QKV1sGJfqSY8E0tuDSu2jxZJHEPuMmM3JK1ZKmt6 EogZJs9DEo3sunuYKHMihGylngI/++I13r1LKQtsoskGGNbRBzRkfrmpBSPgAauUDlTp Di4Q==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hello,
I've noticed that Bash regular expressions don't work in emulate sh
(and bash) because of the SH_GLOB option disabling ( etc. in patterns.
So when emulating Bash (side note – in a new Zplugin feature: loading
plugins with a selected emulation _sticky_), I'm disabling it.
I wonder if there are other options that are better to be changed in
the sh emulation for a better Bash compatibility?
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author