Date: Wed, 5 Jan 2000 23:31:00 +0100 (CET) From: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de> To: freebsd-questions@FreeBSD.ORG Subject: Re: Poss bug in /bin/sh? Message-ID: <200001052231.XAA37333@dorifer.heim3.tu-clausthal.de> In-Reply-To: <8505d9$1mj1$1@atlantis.rz.tu-clausthal.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Eric J. Schwertfeger <ejs@bfd.com> wrote in list.freebsd-questions:
> On Wed, 5 Jan 2000, Oliver Fromme wrote:
>> >From the sh(1) manpage:
>>
>> If the delimiter as specified on the initial line is quoted,
>> then the here-doc-text is treated literally, otherwise the
>> text is subjected to parameter expansion, command
>> substitution, and arithmetic expansion (as described in the
>> section on `Expansions'').
>
> I understand this, and should have been more specific. I'd expect shell
> expansion in this case, and it obviously is expanding, given the output
> below. What I don't expect is output of
>
> #define PTY_BSD_SCHEME_FIRST_CHARS ""
> #define PTY_BSD_SCHEME_SECOND_CHARS ""
> [...]
Ah, now I understand. Sorry for the confusion.
But I cannot reproduce your problem. I get "PQRSpqrs" as
output, not "". I'm using FreeBSD 3.4-19991219-STABLE.
Regards
Oliver
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de)
"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
(Terry Pratchett)
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001052231.XAA37333>
