Skip to main content
10 events
when toggle format what by license comment
Aug 2, 2016 at 21:02 vote accept asaf92
Aug 2, 2016 at 20:26 answer added hschou timeline score: 0
Aug 2, 2016 at 15:46 answer added P. Heffner timeline score: 0
Aug 2, 2016 at 15:16 comment added Zachary Brady Just to throw it out there, I prefer using for loops in these types of situations. for a in {0..50};do echo $a;done
Aug 2, 2016 at 14:45 answer added Kusalananda timeline score: 7
Aug 2, 2016 at 14:41 comment added sjsam @MelBurslan : Also, he is missing the spaces around the operator.
Aug 2, 2016 at 14:31 comment added MelBurslan in this a='expr $a+1' those single quotes should be backticks to start with and your while condition doesn't evaluate well either
Aug 2, 2016 at 14:30 comment added 123 try while [ "$a" -lt "50" ] Also you appear to be using quotes instead of backticks.
Aug 2, 2016 at 14:29 answer added sjsam timeline score: 0
Aug 2, 2016 at 14:24 history asked asaf92 CC BY-SA 3.0