From: ric hotchkiss <ric.hotchkiss@sdrc.com>
To: zsh-users@math.gatech.edu
Subject: WinNT zsh, minor problems
Date: Tue, 09 Jun 1998 16:06:18 -0400 [thread overview]
Message-ID: <357D95BA.4D8375BD@sdrc.com> (raw)
I have been using zsh on WinNT for about 6 weeks now. So far I love it,
but I have two small problems that maybe someone could help me with:
1. When using the read I get no echo of the characters typed in.
Is there a way to get the characters echoed as they are typed?
2. When running awk/gawk double quotes inside a single quoted script get
removed
unless quoted with backslash. I am trying to write code for both WinNT and
UNIX, \" does not work on UNIX and " does not work for WinNT.
NT Example:
gawk '{ printf ("test %s\n", $1) }' # this works on UNIX
c:\bin\gawk: cmd. line:1: { printf (test %s\n, $1) }
c:\bin\gawk: cmd. line:1: ^ parse error
UNIX Example:
gawk '{ printf (\"test %s\n\", $1) }' # this works on NT
gawk: cmd. line:1: { printf (\"test %s\n\", $1) }
gawk: cmd. line:1: ^ backslash not last character on line
Is there a syntax that will work on both systems?
Thanx for any hints.
Ric
--
_____ ______ _____ _____
/ ____|| ___ \ | ___ \ / ____| Ric Hotchkiss IDSA 2000 Eastman Drive
\____ \| |___) )| _ /( (____ ric.hotchkiss@sdrc.com Milford, OH 45150
|_____/|______/ |_| \_\ \_____| Implementation Specialist 513-576-2924
next reply other threads:[~1998-06-09 20:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-09 20:06 ric hotchkiss [this message]
1998-06-10 8:25 ` Zefram
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=357D95BA.4D8375BD@sdrc.com \
--to=ric.hotchkiss@sdrc.com \
--cc=zsh-users@math.gatech.edu \
/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).