Files

13 lines
383 B
Plaintext

---
functions:
file-read:
- code: |-
atobm /path/to/input-file
comment: |-
Outputs only the first line of the file to standard error without the `-` and `#` characters, this can be customized with the `-c` option, by default is `-c -#`. Content can be retrieved with `awk -F "'" '{printf "%s", $2}'`.
contexts:
sudo:
suid:
unprivileged:
...