$ mkdir /tmp/foo && cd /tmp/foo && touch bar.txt
This style is pretty prevalent when writing test cases in shell (or just shell scripts in general), e.g. when using something like sharness[1].
[1] https://github.com/mlafeldt/sharness
http://www.gnu.org/software/bash/manual/bashref.html#index-s...
https://news.ycombinator.com/item?id=8054440
$ mkdir -m 0700