From: Paul Hänsch Date: Tue, 6 Jun 2023 22:29:34 +0000 (+0200) Subject: do not sort gallery, obey order of globs given as arguments X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=a66f6f892d1364e544e5fc9884449bf86de100fb;p=shellwiki do not sort gallery, obey order of globs given as arguments --- diff --git a/macros/gallery b/macros/gallery index 306c517..3a05ee8 100755 --- a/macros/gallery +++ b/macros/gallery @@ -16,7 +16,6 @@ for glob in "$@"; do && attachment_glob "$glob" done \ | grep -xiE '.*\.jpe?g|.*\.png|.*\.gif' \ -| sort -u \ | while read attachment; do case $attachment in */*)