Skip to main content
13 events
when toggle format what by license comment
Jun 25, 2020 at 11:57 history edited Stéphane Chazelas CC BY-SA 4.0
added 67 characters in body
Jun 25, 2020 at 10:40 comment added Stéphane Chazelas @DipeshSunrait, check the bash FAQ
Jun 25, 2020 at 10:34 comment added Machine Yadav Also bro how to solve this problem. My array becomes empty after leaving a loop imgur.com/a/nypSE26 @StephaneChazelas
Jun 25, 2020 at 10:10 history edited Stéphane Chazelas CC BY-SA 4.0
added 234 characters in body
Jun 25, 2020 at 10:08 vote accept Machine Yadav
Jun 25, 2020 at 10:08 comment added Machine Yadav THANKS BRO GOT IT
Jun 25, 2020 at 10:07 comment added Machine Yadav OH I FORGOT THAT ITS PRINTING FIRST CHARACTER
Jun 25, 2020 at 10:07 comment added Stéphane Chazelas @DipeshSunrait, try reading my answer again (maybe after refreshing the page). The problem is with your echo $array, not with your loop.
Jun 25, 2020 at 10:06 comment added Machine Yadav still it doesnt work : imgur.com/a/PgXMnet i have quoted both array and i
Jun 25, 2020 at 10:01 comment added Stéphane Chazelas @DipeshSunrait, see edit.
Jun 25, 2020 at 10:01 history edited Stéphane Chazelas CC BY-SA 4.0
added 160 characters in body
Jun 25, 2020 at 9:59 comment added Machine Yadav Can you show how to make a array containing (0 1 2 3 4) from for loop when array is empty at first @Stephane Chazelas
Jun 25, 2020 at 9:57 history answered Stéphane Chazelas CC BY-SA 4.0