From cf4b45a4f263a928faa4510caf7c6ac4bae2f51c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Nyffenegger?= Date: Tue, 22 Jul 2025 08:47:33 +0200 Subject: [PATCH] Remove $ signs in quoted text In order to prevent PowerShell from expanding non existing variables in quoted text, the dollar sign was replaced with S. Iw considered making single quoted text, but that interferred with the back-apostrophe (`) which is alse present in the text. --- scripts/write-ascii-image.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/write-ascii-image.ps1 b/scripts/write-ascii-image.ps1 index 269e16c50..2199cf8cb 100755 --- a/scripts/write-ascii-image.ps1 +++ b/scripts/write-ascii-image.ps1 @@ -19,13 +19,13 @@ WriteLine "" WriteLine " _-o#&&*''''?d:>b\_" WriteLine " _o/'`'' '',, dMF9MMMMMHo_" WriteLine " .o&#' `'MbHMMMMMMMMMMMHo." -WriteLine " .o'' ' vodM*$&&HMMMMMMMMMM?." -WriteLine " ,' $M&ood,~'`(&##MMMMMMH\" +WriteLine " .o'' ' vodM*S&&HMMMMMMMMMM?." +WriteLine " ,' SM&ood,~'`(&##MMMMMMH\" WriteLine " / ,MMMMMMM#b?#bobMMMMHMMML" -WriteLine " & ?MMMMMMMMMMMMMMMMM7MMM$R*Hk" -WriteLine " ?$. :MMMMMMMMMMMMMMMMMMM/HMMM|`*L" +WriteLine " & ?MMMMMMMMMMMMMMMMM7MMMSR*Hk" +WriteLine " ?S. :MMMMMMMMMMMMMMMMMMM/HMMM|`*L" WriteLine "| |MMMMMMMMMMMMMMMMMMMMbMH' T," -WriteLine "$H#: `*MMMMMMMMMMMMMMMMMMMMb#}' `?" +WriteLine "SH#: `*MMMMMMMMMMMMMMMMMMMMb#}' `?" WriteLine "]MMH# ''*''''*#MMMMMMMMMMMMM' -" WriteLine "MMMMMb_ |MMMMMMMMMMMP' :" WriteLine "HMMMMMMMHo `MMMMMMMMMT ."