3 ms·
> If you're just iterating over a directory and checking some files Unfortunately, I very frequently see this in shell scripts... ls $SOME_PATH | awk...
by planckscnst 13y ago
> If you're just iterating over a directory and checking some files
Unfortunately, I very frequently see this in shell scripts...
ls $SOME_PATH | awk...
I even once saw someone use ls to figure out if a certain file was a symlink by looking for "->"! That kind of stuff doesn't typically happen in other languages.