как передать вывод ps2pdf в zathura

Desde un script de shell, hay una forma de usar cualquier método estático público de Java (y, por ejemplo, Math.min()). Desde bash en Linux:

. jsbInit
jsbStart 
A=2 
B=3 
C=$(jsb Math.min "$A" "$B")
echo "$C"

Esto requiere Java Shell Bridgehttps://sourceforge.net/projects/jsbridge/

Muy rápido, porque las llamadas a métodos se canalizan internamente ; no se requiere ningún proceso.

1
07.07.2019, 10:55
1 ответ

Добавить -в качестве аргумента командной строки для zathura:

man -t awk | ps2pdf - - | zathura -

как написано на справочной странице:

zathura displays the given files. If a single hyphen-minus (-) is given
as file name, the content will be read from the standard input.
3
27.01.2020, 23:30

Теги

Похожие вопросы