From e1618e0acc526ba44ee58349e264e772c1403578 Mon Sep 17 00:00:00 2001 From: raul Date: Mon, 20 Jan 2025 08:23:59 +0100 Subject: [PATCH] Remove pointless pipe --- class/scripts2/guess_number.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/scripts2/guess_number.sh b/class/scripts2/guess_number.sh index 0b8d943..4fad08a 100755 --- a/class/scripts2/guess_number.sh +++ b/class/scripts2/guess_number.sh @@ -83,7 +83,7 @@ checkLose() { main() { # Genera un número aleatorio desde 0 hasta el número máximo # configurado por el usuario - RANDOM_NUM=$(seq 0 $POOL_NUM | tr " " "\n" | shuf -n1) + RANDOM_NUM=$(seq 0 $POOL_NUM | shuf -n1) for (( ; ; )); do status