zsh-workers
 help / color / mirror / code / Atom feed
From: jarausch@numa1.igpm.rwth-aachen.de (Helmut Jarausch)
To: zsh-workers@sunsite.auc.dk
Subject: bug with 3.1.5-pws-83.1.5-pws-8
Date: Thu, 18 Feb 1999 17:37:26 +0100 (CST)	[thread overview]
Message-ID: <jarausch-990218173715.A021933@numa1.igpm.rwth-aachen.de> (raw)

Hi all,

The following triggers a bug in zsh.

If I select the text at the end and paste it into an xterm (with zsh running)
then

1st) is does work as expected if there is no  "set -k" active
2nd) if one has executed before  "set -k", the HERE-document doesn't
     work right --- see the output below

Thanks for enlightening me,
Helmut.

Here the text (the first line is normally perl -pi'.bak' - texmf.cnf <<\EOP )

cat  >CHECK <<\EOP
next if ( defined($Found) || !/^TEXINPUTS.etex/ );
print;
$_= <<'EOF';
TEXINPUTS.ETeX     = .;$TEXMF/{etex,tex}/{plain,generic,}//
TEXINPUTS.ETeXe    = .;$TEXMF/{etex,tex}/{plain,generic,}//
TEXINPUTS.PTeX     = .;$TEXMF/{etex,tex}/{plain,generic,}//
TEXINPUTS.PTeXe    = .;$TEXMF/{etex,tex}/{plain,generic,}//
EOF
$Found=1;
EOP


buggy output:
next if ( defined($Found) || !/^TEXINPUTS.eteTEXINPUTS.ETeX     = .;$TEXMF/{etex,tex/ );
print;
$_= <<'EOF';
x}/{plain,generic,}//
TEXINPUTS.ETeXe    = .;$TEXMF/{etex,tex}/{plain,generic,}//
TEXINPUTS.PTeX     = .;$TEXMF/{etex,tex}/{plain,generic,}//
TEXINPUTS.PTeXe    = .;$TEXMF/{etex,tex}/{plain,generic,}//
EOF
$Found=1;






                 reply	other threads:[~1999-02-18 16:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=jarausch-990218173715.A021933@numa1.igpm.rwth-aachen.de \
    --to=jarausch@numa1.igpm.rwth-aachen.de \
    --cc=zsh-workers@sunsite.auc.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).