From dfe288950edf2725ac3f2a48a4a147c332f7fe46 Mon Sep 17 00:00:00 2001 From: Ivan Gonzalez-Polanco <17637014+dreamtigers@users.noreply.github.com> Date: Wed, 28 Aug 2019 20:33:58 -0400 Subject: [PATCH] Undo wrong change. Sorry --- SC2031.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC2031.md b/SC2031.md index c246b4a..a70380d 100644 --- a/SC2031.md +++ b/SC2031.md @@ -15,7 +15,7 @@ echo $n ```bash # Bash specific: process substitution. Also try shopts like lastpipe. n=0 -while read i; do (( n+=i )); done < "$(printf "%s\n" {1..10})" +while read i; do (( n+=i )); done < <(printf "%s\n" {1..10}) echo $n ```