]> git.plutz.net Git - shellwiki/commitdiff
do not sort gallery, obey order of globs given as arguments
authorPaul Hänsch <paul@plutz.net>
Tue, 6 Jun 2023 22:29:34 +0000 (00:29 +0200)
committerPaul Hänsch <paul@plutz.net>
Tue, 6 Jun 2023 22:29:34 +0000 (00:29 +0200)
macros/gallery

index 306c517352237b784d3904467bb047a6cf2c7bdc..3a05ee85ff06767334ae1ce74717c9337ec032aa 100755 (executable)
@@ -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
     */*)