Received: by mail.netbsd.org (Postfix, from userid 605) id E34E084DA3; Fri, 2 Jun 2017 01:45:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6F2A584D9A for ; Fri, 2 Jun 2017 01:45:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id c7ovss_e9T06 for ; Fri, 2 Jun 2017 01:45:07 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 131B384CDD for ; Fri, 2 Jun 2017 01:45:07 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0DC30FBEE; Fri, 2 Jun 2017 01:45:07 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 2 Jun 2017 01:45:07 +0000 From: "Robert Elz" Subject: CVS commit: src/tests/bin/sh To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20170602014507.0DC30FBEE@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Robert Elz" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: kre Date: Fri Jun 2 01:45:06 UTC 2017 Modified Files: src/tests/bin/sh: t_syntax.sh Log Message: One more weird test of parsing (and correctly understanding) words whose meaning is defined entirely by context. For those who read commit messages, and want a (small) challenge, work out where (and what) to insert as punctuation/operator chars in the following to produce 3 ines of output, and what those will be: for in in in do in do case in in in echo do do echo in esac done (There are no comments, quotes of any kind, or any kind of sub-shell, including cmd substitutions) With correct non alpha-numeric chars added, it works. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/bin/sh/t_syntax.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.