Update make.md

Output file contents to stdout
This commit is contained in:
hamzawinix
2024-04-10 17:28:32 +03:00
committed by GitHub
parent 4eca50ea16
commit c04b99e12b

View File

@@ -10,6 +10,13 @@ functions:
code: | code: |
LFILE=file_to_write LFILE=file_to_write
make -s --eval="\$(file >$LFILE,DATA)" . make -s --eval="\$(file >$LFILE,DATA)" .
file-read:
- description: Requires a newer GNU `make` version.
code: |
CMND='cat file_to_read'
make -s --eval=$'x:\n\t-'"$CMND"
suid: suid:
- code: | - code: |
COMMAND='/bin/sh -p' COMMAND='/bin/sh -p'