From 226ae31300a3109998b6e48250c941824bddef75 Mon Sep 17 00:00:00 2001 From: M0S111 <120295443+M0S111@users.noreply.github.com> Date: Wed, 22 Jan 2025 17:04:00 +0500 Subject: [PATCH] Removed repeated command in bash.sh --- languages/bash.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/languages/bash.sh b/languages/bash.sh index 180f917..7a55f65 100644 --- a/languages/bash.sh +++ b/languages/bash.sh @@ -218,7 +218,6 @@ array[2]=valC array=([2]=valC [0]=valA [1]=valB) # another way array=(valA valB valC) # and another ${array[@]} # list contents -${array[i]} # value at index i (0-based) ${array[i]} # displays array's value for this index. If no index is supplied, array element 0 is assumed ${#array[i]} # to find out the length of any element in the array