|
@@ -36,11 +36,11 @@ the captured exit status.
|
|
|
|
|
|
- List paths null delimited for pipe (in case of paths with new line char)
|
|
|
|
|
|
- ${0##*/} -l -z find | xargs -r -0 ls -lahd
|
|
|
+ ${0##*/} -l -0 find | xargs -r -0 ls -lahd
|
|
|
EOF
|
|
|
}
|
|
|
|
|
|
-OPTSTRING=":hln:z"
|
|
|
+OPTSTRING=":hln:0"
|
|
|
parse_opt () {
|
|
|
case "${opt}" in
|
|
|
h)
|
|
@@ -61,7 +61,7 @@ parse_opt () {
|
|
|
exit 1
|
|
|
fi
|
|
|
;;
|
|
|
- z)
|
|
|
+ 0)
|
|
|
ORS='\0'
|
|
|
;;
|
|
|
\?)
|
|
@@ -190,5 +190,6 @@ else
|
|
|
INF="$LOG_DIR"/info
|
|
|
. <(tail -n +2 "$INF")
|
|
|
cat "$OUT"
|
|
|
+ #TODO: allow configure exit status
|
|
|
exit "$status"
|
|
|
fi
|