2020-03-17 07:34:57 +01:00
|
|
|
---
|
|
|
|
functions:
|
2020-11-13 11:57:13 +01:00
|
|
|
file-read:
|
2020-12-20 20:54:05 +01:00
|
|
|
- description: The file is typeset and some warning messages may appear.
|
2020-11-13 11:57:13 +01:00
|
|
|
code: |
|
|
|
|
LFILE=file_to_read
|
|
|
|
nroff $LFILE
|
2020-03-17 07:34:57 +01:00
|
|
|
shell:
|
|
|
|
- code: |
|
|
|
|
TF=$(mktemp -d)
|
|
|
|
echo '#!/bin/sh' > $TF/groff
|
|
|
|
echo '/bin/sh' >> $TF/groff
|
|
|
|
chmod +x $TF/groff
|
|
|
|
GROFF_BIN_PATH=$TF nroff
|
|
|
|
sudo:
|
|
|
|
- code: |
|
|
|
|
TF=$(mktemp -d)
|
|
|
|
echo '#!/bin/sh' > $TF/groff
|
|
|
|
echo '/bin/sh' >> $TF/groff
|
|
|
|
chmod +x $TF/groff
|
2020-06-10 22:56:05 +02:00
|
|
|
sudo GROFF_BIN_PATH=$TF nroff
|
2020-03-17 07:34:57 +01:00
|
|
|
---
|