4.16.3 Discussion

Often, it's useful to process parts of a path more
generically; for example, if you want to walk up a directory. This
recipe splits a path into each piece that corresponds to a mount
point, directory name, or file. A few test cases make it clear: