diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2017-03-30 10:24:50 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2017-03-30 10:24:50 +0200 |
commit | 9dbe4230226cf49dcf33e11516aca9d24219ca9e (patch) | |
tree | 923f46523b9536133c29cd053ee231552fac956a | |
parent | 7e3c48bdc98a7ec7cd5a322ca74b56f1278e78ad (diff) | |
download | bin-9dbe4230226cf49dcf33e11516aca9d24219ca9e.zip bin-9dbe4230226cf49dcf33e11516aca9d24219ca9e.tar.gz |
add tree2md
-rwxr-xr-x | tree2md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -0,0 +1,2 @@ +#! /bin/bash +tree -f --noreport -I '*~' --charset ascii $@ | sed -e 's/| \+/ /g; s/[|`]-\+/ */g; s:\(* \)\(\(.*/\)\([^/]\+\)\):\1[\4](\2):g' |