Ever burned a cake?
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.3KB

  1. .\" MODIFIED FILE! It was initially generated by help2man 1.49.3.
  2. .TH BAKE "1" "March 2024" "bake 20240302" "User Commands"
  3. .SH NAME
  4. .B bake
  5. \- file embeddable scripts
  6. .SH SYNOPSIS
  7. .B bake
  8. [option] target\-file [\fBarguments\fP ...]
  9. .SH DESCRIPTION
  10. Use the format `\fB@BAKE\fP cmd ...' within the target\-file, this will execute the
  11. rest of line, or until the first \fB@STOP\fR marker.
  12. This format may be embedded within \fBbinary files\fP, or any file where no unwanted preceding
  13. instance of
  14. .B @BAKE
  15. appears.
  16. \fBShake\fP does not support some features of \fBBake\fP, such as \fB@STOP\fP or \fBbinary files\fP,
  17. please avoid its use.
  18. Options [Only one, Must always be put first]
  19. .HP
  20. .B \-v \-\-version, \-h \-\-help, \-n \-\-dry\-run
  21. .PP
  22. Expansions
  23. These will expand to their counterpart statically first thing.
  24. These may only be inserted inside of markers.
  25. .TP
  26. .B $@
  27. returns target\-file (abc.x.txt)
  28. .TP
  29. .B $*
  30. returns target\-file without suffix (abc.x.txt \-> abc.x)
  31. .TP
  32. .B $+
  33. returns
  34. .B arguments
  35. .SH EXAMPLE
  36. .\" SRC BEGIN (example.c)
  37. .EX
  38. // example.c
  39. // @BAKE cc $@ -o $*
  40. #include <stdio.h>
  41. int main (void) {
  42. printf("Hello.");
  43. }
  44. .EE
  45. .SH COPYRIGHT
  46. .PP
  47. Licensed under the GNU Public License version 3 only, see <https://www.gnu.org/licenses/gpl\-3.0\-standalone.html>.