|
@@ -28,6 +28,10 @@ the captured exit status.
|
|
|
- List paths to all captured find commands
|
|
|
|
|
|
${0##*/} -l find
|
|
|
+
|
|
|
+ - List at most 10 paths to all captured find commands
|
|
|
+
|
|
|
+ ${0##*/} -l -n 10 find
|
|
|
EOF
|
|
|
}
|
|
|
|
|
@@ -112,7 +116,7 @@ then
|
|
|
| fzf --read0 --print0 -m --no-sort "${fzf_query[@]}" -d / --nth 1,2,3 --preview='cat {}/info; head {}/dat' \
|
|
|
| awk -v RS='\0' -v FS='/' -v OFS='/' -v ORS='\0' '{for (i=2; i<=NF; i++) printf "%s%s", $(i), (i<NF ? OFS : ORS)}' \
|
|
|
| awk -v prefix="$LOG_ROOT/" -v RS='\0' -v ORS='\n' '{print prefix $0}' \
|
|
|
- : "TODO: allow configuring null terminated output"
|
|
|
+ && : "TODO: allow configuring null terminated output"
|
|
|
)
|
|
|
else
|
|
|
SUBPROG=""
|