bin/echo-p
author hackbot
Sat, 29 May 2021 20:10:44 +0000
changeset 174 83ec4c52f823
parent 151 53e48673a946
permissions -rwxr-xr-x
<cd> ` bash ./bashify foo
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
151
53e48673a946 <cd> bashify /hackenv/bin/echo-p
hackbot
parents: 42
diff changeset
     1
#!/bin/bash
42
hackbot
parents:
diff changeset
     2
echo "$1"; [[ "$1" == */* ]] && mkdir -p "${1%/*}" 2>/dev/null