]> git.madduck.net Git - etc/mutt.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

fix handling special characters in filenames
authormartin f. krafft <madduck@madduck.net>
Thu, 21 Feb 2019 01:14:54 +0000 (14:14 +1300)
committermartin f. krafft <madduck@madduck.net>
Thu, 21 Feb 2019 01:14:54 +0000 (14:14 +1300)
.mutt/bgrun

index 4dcd3e21cf8280a3719f8315d8657220dc1ef4c8..5e30cf08f592d52e875a5f7da1aae2cfe8e43853 100755 (executable)
@@ -46,7 +46,7 @@ get_file() {
     cat > "$t"
     echo "$t"
   else
-    t="$(echo ${1##*/} | sed -re 's![^[:alnum:],.:@%^+=_-]!_!gi')"
+    t="$(echo ${1##*/} | sed -re 's![^[:alnum:],.@%^+=_-]!_!gi')"
     cp "$1" "$t"
     echo "$t"
   fi