It actually decreases readability of the .do files - by not making it explicit when you're going into a subdir. Plus it adds ambiguity: what if there's a dirname.do *and* a dirname/all? We could resolve the ambiguity if we wanted, but that adds more code, while taking out this special case makes *less* code and improves readability. I think it's the right way to go.
3 lines
43 B
Text
3 lines
43 B
Text
rm -rf "$1"
|
|
mkdir $1
|
|
echo $$ >>makedir.log
|