Closed Hadrien-lcrx closed 6 years ago
In How can I repeat a command once for each file?, not adding a space after the first ; will prevent the answer from passing the grader. Is this normal shell behavior or should the answer be accepted?
;
for filename in people/*;do echo $filename; done
for filename in people/*; do echo $filename; done
Cf ali.abbasov1@gmail.com, #64985 Cc @bakera81
Good catch - spaces around the ; are optional. This should be fixed by 60e4dac.
In How can I repeat a command once for each file?, not adding a space after the first
;
will prevent the answer from passing the grader. Is this normal shell behavior or should the answer be accepted?Rejected code
Exercise solution
Screenshot
Cf ali.abbasov1@gmail.com, #64985 Cc @bakera81