Ever burned a cake?
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

52 linhas
1.2KB

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