From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Bart Schaefer" <schaefer@candle.brasslantern.com>,
<zsh-workers@sunsite.dk>
Subject: RE: Somebody with gcc knowledge here? (Was: termcap moodule problem on Cygwin )
Date: Thu, 1 Feb 2001 19:54:08 +0300 [thread overview]
Message-ID: <002701c08c6f$9804e510$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <1010201163948.ZM5182@candle.brasslantern.com>
> On Feb 1, 8:55am, Andrej Borsenkow wrote:
> } Subject: RE: Somebody with gcc knowledge here? (Was: termcap moodule prob
> }
> } > What you actually want here is
> } >
> } > case "$all_subdirs " in
> } > *" $lastsub "* ) ;;
> }
> } Or do I miss something?
>
> You miss the significance of whitespace. Look closely at the `case'
> line. Adding a trailing space there means you can always match a
> trailing space in the pattern line, so you only need one pattern.
>
> --
Erm. This won't match "bla-bla-bla $lastsub" case (when $lastsub is the last
one). You are right, trailing space is significant. For this reason two
patterns - *" $lastsub" and *" $lastsub "*.
Or I must go home today :-)
-andrej
next prev parent reply other threads:[~2001-02-01 16:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-31 9:00 Sven Wischnowsky
2001-01-31 9:47 ` Bart Schaefer
2001-01-31 9:57 ` Andrej Borsenkow
2001-01-31 17:55 ` Zefram
2001-02-01 5:55 ` Andrej Borsenkow
2001-02-01 16:39 ` Bart Schaefer
2001-02-01 16:54 ` Andrej Borsenkow [this message]
2001-02-01 19:23 ` Zefram
2001-02-02 8:42 ` Andrej Borsenkow
-- strict thread matches above, loose matches on Subject: below --
2001-01-30 10:34 termcap moodule problem on Cygwin Peter Stephenson
2001-01-31 8:50 ` Somebody with gcc knowledge here? (Was: termcap moodule problem on Cygwin ) Andrej Borsenkow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='002701c08c6f$9804e510$21c9ca95@mow.siemens.ru' \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=schaefer@candle.brasslantern.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).