Rename "command" line to "content" line (I forgot what I was calling it)
This commit is contained in:
8
README
8
README
@@ -47,12 +47,12 @@ The attributes section follows the text section. The attributes section ends
|
|||||||
with a single newline. Text including and following a hash in the attributes
|
with a single newline. Text including and following a hash in the attributes
|
||||||
section will be ignoroed.
|
section will be ignoroed.
|
||||||
|
|
||||||
The command section follows the attributes section. The command section is
|
The content section follows the attributes section. The content section is
|
||||||
run as a single argument following the invocation `$ sh -c`, like the C
|
run as a single argument following the invocation `$ sh -c`, like the C
|
||||||
standard library's system(3). Each line in the command section is preceded by
|
standard library's system(3). Each line in the content section is preceded by
|
||||||
a horizontal tab, which is removed from the argument; if a line in the command
|
a horizontal tab, which is removed from the argument; if a line in the content
|
||||||
section is not preceded by a tab, the omission is considered a syntax error (a
|
section is not preceded by a tab, the omission is considered a syntax error (a
|
||||||
"naked line") and menu(1) exits unsuccessfully. The command section ends with
|
"naked line") and menu(1) exits unsuccessfully. The content section ends with
|
||||||
two consecutive newlines.
|
two consecutive newlines.
|
||||||
|
|
||||||
## POSIX systems
|
## POSIX systems
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!usr/bin/env menu
|
#!usr/bin/env menu
|
||||||
|
|
||||||
$ echo Hello, world.
|
$ echo Hello, world.
|
||||||
# ^^^ Text VVV Command
|
# ^^^ Text VVV Content
|
||||||
echo Hello, world.
|
echo Hello, world.
|
||||||
|
|
||||||
$ cat Makefile
|
$ cat Makefile
|
||||||
|
|||||||
Reference in New Issue
Block a user