Received: by mail.netbsd.org (Postfix, from userid 605) id CF8C884D3F; Sat, 2 May 2020 08:07:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5563484D2C for ; Sat, 2 May 2020 08:07:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id I9P6IIL3fyfP for ; Sat, 2 May 2020 08:07:28 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id A551284CE1 for ; Sat, 2 May 2020 08:07:28 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 994BAFB27; Sat, 2 May 2020 08:07:28 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1588406848223160" MIME-Version: 1.0 Date: Sat, 2 May 2020 08:07:28 +0000 From: "Roland Illig" Subject: CVS commit: pkgsrc/regress/tools/files To: pkgsrc-changes@NetBSD.org Reply-To: rillig@netbsd.org X-Mailer: log_accum Message-Id: <20200502080728.994BAFB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1588406848223160 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: rillig Date: Sat May 2 08:07:28 UTC 2020 Modified Files: pkgsrc/regress/tools/files: shquote-test.sh Log Message: regress/tools: reduce the number of backslashes in the code To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 pkgsrc/regress/tools/files/shquote-test.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1588406848223160 Content-Disposition: inline Content-Length: 944 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/regress/tools/files/shquote-test.sh diff -u pkgsrc/regress/tools/files/shquote-test.sh:1.2 pkgsrc/regress/tools/files/shquote-test.sh:1.3 --- pkgsrc/regress/tools/files/shquote-test.sh:1.2 Wed May 22 20:47:05 2019 +++ pkgsrc/regress/tools/files/shquote-test.sh Sat May 2 08:07:28 2020 @@ -17,7 +17,7 @@ test_shquote '' becomes "''" test_shquote ' ' becomes "' '" test_shquote '!' becomes '!' -test_shquote '"' becomes \'\"\' +test_shquote '"' becomes "'\"'" test_shquote '#' becomes "'#'" test_shquote '$' becomes "'$'" test_shquote '%' becomes '%' @@ -34,7 +34,7 @@ test_shquote '>' becomes "'>'" test_shquote '?' becomes "'?'" test_shquote '@ABCDEFGHIJKLMNOPQRSTUVWXYZ' becomes '@ABCDEFGHIJKLMNOPQRSTUVWXYZ' test_shquote '[' becomes "'['" -test_shquote '\' becomes \'\\\' +test_shquote '\' becomes "'\\'" test_shquote ']' becomes "']'" test_shquote '^' becomes "'^'" test_shquote '_' becomes '_' --_----------=_1588406848223160--