Mercurial > repo
annotate bin/echo-p @ 11258:edaf8efd6e21
<oerjan> learn This is something people on the channel like to talk about. We\'re often unsure what this is, though.
author | HackBot |
---|---|
date | Sat, 09 Dec 2017 11:45:07 +0000 |
parents | c1477023c681 |
children |
rev | line source |
---|---|
6658
c1477023c681
<oerjan> mkx bin/echo-p//echo "$1"; [[ "$1" == */* ]] && mkdir -p "${1%/*}" 2>/dev/null
HackBot
parents:
diff
changeset
|
1 echo "$1"; [[ "$1" == */* ]] && mkdir -p "${1%/*}" 2>/dev/null |