X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=gui;fp=gui;h=336d1547ad6366af9dd3cb481cd0a29b87d08167;hb=4e70cf69ed41bbf2cf1983cdae4ea3f6d2f1c684;hp=db81f7fd1c308d84cc6691791de13b248bc2e305;hpb=ce3fe9aefcd3c79fe87085e62684fa7d2d9bb9f2;p=gsu.git diff --git a/gui b/gui index db81f7f..336d154 100644 --- a/gui +++ b/gui @@ -79,7 +79,7 @@ _get_level() _get_subtree() { local tree="$1" root="${2%/}" - local TAB=' ' + local first TAB=' ' first="$(grep -n "$TAB\{1,\}$root/" <<< "$tree")" [[ -z "$first" ]] && return