]> git.xolatile.top Git - emil-bake.git/commitdiff
decomperess manpage
authorEmil Williams <emilwilliams@tuta.io>
Tue, 27 Feb 2024 04:19:55 +0000 (04:19 +0000)
committerEmil Williams <emilwilliams@tuta.io>
Tue, 27 Feb 2024 04:19:55 +0000 (04:19 +0000)
bake.1 [new file with mode: 0644]
bake.1.gz [deleted file]

diff --git a/bake.1 b/bake.1
new file mode 100644 (file)
index 0000000..5b1cdd7
--- /dev/null
+++ b/bake.1
@@ -0,0 +1,52 @@
+.\" MODIFIED FILE!  It was initially generated by help2man 1.49.3.
+.TH BAKE "1" "January 2024" "bake 20240124" "User Commands"
+.SH NAME
+.B bake
+\- file embeddable scripts
+.SH SYNOPSIS
+.B bake
+[option] target\-file [\fBarguments\fP ...]
+.SH DESCRIPTION
+Use the format `\fB@BAKE\fP cmd ...' within the target\-file, this will execute the
+rest of line, or until the first \fB@STOP\fR marker.
+
+This format may be embedded within \fBbinary files\fP, or any file where no unwanted preceding
+instance of
+.B @BAKE
+appears.
+
+\fBShake\fP does not support some features of \fBBake\fP, such as \fB@STOP\fP or \fBbinary files\fP,
+please avoid its use.
+
+Options [Only one, Must always be put first]
+
+.HP
+.B \-v \-\-version, \-h \-\-help, \-n \-\-dry\-run
+.PP
+Expansions
+
+These will expand to their counterpart statically first thing.
+These may only be inserted inside of markers.
+.TP
+.B $@
+returns target\-file                (abc.x.txt)
+.TP
+.B $*
+returns target\-file without suffix (abc.x.txt \-> abc.x)
+.TP
+.B $+
+returns
+.B arguments
+.SH EXAMPLE
+.\" SRC BEGIN (example.c)
+.EX
+// example.c
+// @BAKE cc $@ -o $*
+#include <stdio.h>
+int main (void) {
+    printf("Hello.");
+}
+.EE
+.SH COPYRIGHT
+.PP
+Licensed under the GNU Public License version 3 only, see <https://www.gnu.org/licenses/gpl\-3.0\-standalone.html>.
diff --git a/bake.1.gz b/bake.1.gz
deleted file mode 100644 (file)
index 90b44f9..0000000
Binary files a/bake.1.gz and /dev/null differ