feat(user/bkots):Use subshells to speed up jobs
[BK-2020-03.git] / unitproc / bkt-get_path_hierarchy_level
index a76cb1f64654f5e762bd379f334f4abebc637a3d..7e03981af7104962fdd9233e661bb32733ab115b 100755 (executable)
@@ -32,12 +32,12 @@ get_path_hierarchy_level() {
 
         # Append to output
         output+=("$level");
-        #declare -p flag_root level;
+        #declare -p flag_root level; # debug
         ((n++));
     done;
     # Print output
     printf "%s\n" "${output[@]}";
-};
+}; # return hierarchy level of lines as integers
 
 # Test the function with the provided lines
 printf "\n\n========Test 1========\n"