5 lines
160 B
Bash
Executable file
5 lines
160 B
Bash
Executable file
#!/bin/bash
|
|
export dir=$(mktemp -p /dev/shm -d -t tmp.XXXXXXXXXX)
|
|
ln -s /dev/stdout $dir/stdout.pdf
|
|
pandoc -o $dir/stdout.pdf $1 | zathura ${@:2} -
|
|
rm $dir -rf
|