Update gcc for file-read

Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
Pranav 2022-12-16 22:21:53 +05:30 committed by GitHub
parent 170c1f5db7
commit 0eefa2a716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,10 @@ functions:
- code: | - code: |
LFILE=file_to_read LFILE=file_to_read
gcc -x c -E "$LFILE" gcc -x c -E "$LFILE"
- 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"
file-write: # XXX this should be file-delete file-write: # XXX this should be file-delete
- code: | - code: |
LFILE=file_to_delete LFILE=file_to_delete