Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: make completion on OpenBSD



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