[PATCH 0/5] lib: make folder: prefix literal

Tomi Ollila tomi.ollila at iki.fi
Wed Feb 5 13:12:22 PST 2014


On Wed, Feb 05 2014, Tomi Ollila <tomi.ollila at iki.fi> wrote:

> On Tue, Feb 04 2014, Austin Clements <amdragon at MIT.EDU> wrote:
>
>
> In zsh:
>
> $ echo whatever:/**
> whatever:/**

Except (retested after seeing related IRC msg from Austin):

$ unsetopt no_nomatch
$ echo whatever:/**
zsh: no matches found: whatever:/**

We can maybe document this (and bash nullglob) for users to decide
how they want their shells to behave...

Tomi


> Quick check with:
> ksh-20100621-12.el6.x86_64,
> dash-0.5.5.1-3.1.el6.x86_64
> busybox-1.15.1-20.el6.x86_64 (busybox sh & busybox ash)
> and
> http://sourceforge.net/projects/heirloom/files/heirloom-sh/050706/heirloom-sh-050706.tar.bz2/download
>
> all do the same (non-)expansion.
>
>
> I vaguely remember some shells did puke some error when expansion yielded
> no results... maybe some shell option does it. Definitely not mainstream
> feature.

... or maybe it is after all ;/

>
> Tomi



More information about the notmuch mailing list