Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: make completion on OpenBSD
- X-seq: zsh-users 4983
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Jukka Lehti <jukkalehti@xxxxxxxxx>
- Subject: Re: make completion on OpenBSD
- Date: Fri, 24 May 2002 10:02:40 -0700 (PDT)
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20020524163058.93920.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: schaefer@xxxxxxxxxxxxxxxx
On Fri, 24 May 2002, Jukka Lehti wrote:
> I wrote:
>
> > compctl -s "\$(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print
> > \$1}' FS=: [mM]akefile)" -x 'c[-1,-f]' -f --
> > {,g,gnu,p,v}make
> >
> > However, after I installed OpenBSD 3.1 and zsh-4.0.4,
> > the above behaves strangely
>
> Well, after removing backslashed before $'s it started
> to work on OpenBSD
Removing the backslashes is almost certainly the wrong thing to do, given
that you have double quotes around the "$(awk ...}".
More likely you should check whether the values of your setopts are the
same on OpenBSD as they are on Linux. E.g., does one have sh_word_split
set and the other not?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author