aboutsummaryrefslogtreecommitdiff
path: root/bin/mked.sh
blob: 4e280205accfefcb06d800b190b7b793f4390acd (plain) (blame)
1
2
3
4
5
6
#!/bin/sh
# Create paths to all files before invoking editor
for file ; do
    mkdir -p -- "${file%/*}" || exit
done
exec "$EDITOR" "$@"