]> git.g-eek.se Git - users/gustav/scripts.git/commitdiff
[unoconv-display] Print cache file names
authorGustav Eek <gustav.eek@fripost.org>
Sun, 30 Jul 2023 07:43:31 +0000 (09:43 +0200)
committerGustav Eek <gustav.eek@fripost.org>
Sun, 30 Jul 2023 07:43:31 +0000 (09:43 +0200)
unoconv-display

index 3b45709b28a9c1c0eebbcdd663015ac006d1b595..46cd12d64f2b41956905032c7a41c601c52baf74 100644 (file)
@@ -37,10 +37,12 @@ if [ -d "$dir" ]; then # Start text viewer
     case $fmt in
         emacs)
             exec emacsclient -e "(view-file \"$txt\")" > /dev/null
+            echo "$txt" 1>&2
             exit 0
             ;;
         pdf)
             exec zathura --fork "$pdf" 2>> "/tmp/err" &
+            echo "$pdf" 1>&2
             exit 0
             ;;
         *)