Explorar el Código

Wrap lpremote s.t. it can be used in a pipe

Samuel W. Flint hace 6 años
padre
commit
72e3d79655
Se han modificado 1 ficheros con 9 adiciones y 0 borrados
  1. 9 0
      lpremoteWrap

+ 9 - 0
lpremoteWrap

@@ -0,0 +1,9 @@
+#!/bin/sh
+
+TEMPFILE=$(mktemp)
+
+cat >${TEMPFILE}
+
+lpremote ${TEMPFILE} $@
+
+rm ${TEMPFILE}