ugh I wasn't sure you could use modulo in bash
Quotation of var $1 is mandatory. In the other case this script fails when file name contains spaces.
The -e switch is correct since directories and devices are files.
If so the insturutions should be updated to "regular file". I went with -e as well.
Hi, can someone give me a translation of the comments? I have the same problems (1 error, no comment). Even if I put a print in the code (and use the example to prove it works, I got nothing in the output window. P.S. Trying the kata in Python.
Loading collection data...
ugh I wasn't sure you could use modulo in bash
Quotation of var $1 is mandatory. In the other case this script fails when file name contains spaces.
The -e switch is correct since directories and devices are files.
If so the insturutions should be updated to "regular file". I went with -e as well.
Hi, can someone give me a translation of the comments? I have the same problems (1 error, no comment). Even if I put a print in the code (and use the example to prove it works, I got nothing in the output window.
P.S. Trying the kata in Python.