Skip to content

Commit

Permalink
Sorting input paths makes some things nicer. E.g., ordering by fileNo
Browse files Browse the repository at this point in the history
becomes the same as ordering by path and if only dup deletions happen
then file numbers stay in the same order across runs.
  • Loading branch information
c-blake committed Aug 17, 2023
1 parent b2788b1 commit d773ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sh/vhup
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export CLIGEN=/dev/null PROCS_CONFIG=/dev/null
procs find -f 'bin/mk1' -aWait # Wait for extant; Cron/manual Launches

lncs -m512 -r0 -t0 -n1 -e '' $* | # Paths of first hard links filtered out
grep -ziv -f "$II" | grep -zv -f "$I" > "$p0" #..case-Insensitive&sensitive-ly
grep -ziv -f "$II" | grep -zv -f "$I" | sort -z > "$p0" #..case-Insens&sens-ly

( notIn -f "$p0" -p\$1 "$d" "$s" | # Clear stale dig/set files&empty dirs
xargs -0 rm -fdv ) 2>&1 | grep -v ': Directory not empty$'
Expand Down

0 comments on commit d773ab8

Please sign in to comment.