diff options
author | Leah Neukirchen <leah@vuxu.org> | 2018-05-28 15:49:53 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2018-05-28 15:49:53 +0200 |
commit | 423c7c6ca85dd8e4e25d8c60afff2588f474aa26 (patch) | |
tree | 54d285068b7ef18f974fbc6cc1c16473d5321b81 | |
parent | 18821d02d8ca6631c6ff02ed5d113bd66654f453 (diff) | |
download | xtools-423c7c6ca85dd8e4e25d8c60afff2588f474aa26.tar.gz xtools-423c7c6ca85dd8e4e25d8c60afff2588f474aa26.tar.xz xtools-423c7c6ca85dd8e4e25d8c60afff2588f474aa26.zip |
xdiff: sort files by version v0.52
-rwxr-xr-x | xdiff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xdiff b/xdiff index 345fd6f..626e2e5 100755 --- a/xdiff +++ b/xdiff @@ -21,6 +21,6 @@ fi DIR=${1:-/etc} -for newfile in $(find "$DIR" -name '*.new-*_*'); do +for newfile in $(find "$DIR" -name '*.new-*_*' | sort -V); do $DIFF "$newfile" "${newfile%.new-*_*}" done |