Details on new options.

This commit is contained in:
Emil 2023-10-10 02:19:53 +00:00
parent 15bfb3efdc
commit 8ed462e3a3
No known key found for this signature in database
GPG Key ID: 5432DB986FDBCF8A

21
README
View File

@ -1,8 +1,6 @@
baked, a baking accessory for all your embedded scripts needs. Baked, embed scripts into files.
Simply embed EXEC: and :STOP into any file and it'll run just fine, example: Executes @EXEC to the end of the line or STOP@ within in any given file.
EXEC:shell command ...:STOP
you may see a real example in the primary and only source file: `baked.c'. you may see a real example in the primary and only source file: `baked.c'.
this is not targeted toward any language and should be fairly flexible, this is not targeted toward any language and should be fairly flexible,
@ -17,23 +15,20 @@ Name/Arg extension
$@: the name of the executed file $@: the name of the executed file
$*: the text of the filename before the last dot $*: the text of the filename before the last dot
$+: the remaining arguments to baked $+: the remaining arguments to Baked
Options extension Options extension
only one option may be in use at a time, and must come as the first argument. only one option may be in use at a time, and must come as the first argument.
-h: displays help message, similiarly to empty input. -h, --help: displays help message, similiarly to empty input.
-n: DRYRUN, does NOT run anything! -n, --dry-run: DRYRUN, does NOT run anything!
Notes Notes
baked was inspired by Shake (formerly eMake), written by anon, which Baked was inspired by the Bash-based Shake utility (formerly eMake,
you may view at <http://bis64wqhh3louusbd45iyj76kmn4rzw5ysawyan5bkxwyzihj67c5lid.onion/anon/shake> he liked my suggestion for a name), written by an anon, which you may
view at: <http://bis64wqhh3louusbd45iyj76kmn4rzw5ysawyan5bkxwyzihj67c5lid.onion/anon/shake>
Shake compatibility may be enabled with `CFLAGS='-DSHAKE_COMPAT' baked
baked.c', the format is `@COMPILECMD ...\n' a functioning example my
be found along side the other examples in `baked.c'.
Baked is licensed under the GPLv3, See LICENSE. Baked is licensed under the GPLv3, See LICENSE.