On 6/14/22 19:20, Alan Rosenthal wrote:
`touch -p a/b/c/d/e` will now be the same as running:
`mkdir -p a/b/c/d && touch a/b/c/d/e`.
I don't see how this useful enough to merit a change, since one can
achieve the effect of the proposed "touch -p" with the already-existing
"mkdir -p" followed
`touch -p a/b/c/d/e` will now be the same as running:
`mkdir -p a/b/c/d && touch a/b/c/d/e`.
Added an option -p/--create-dirs to create any required directories.
Default behavior remains the same.
---
src/touch.c | 40 +++-
1 file changed, 39 insertions(+), 1 d