;run: reword the quoting passage in docs
This commit is contained in:
parent
4f9fff9e81
commit
d615865d4d
@ -22,7 +22,7 @@ Syntax of the commands is intentionally simple:
|
|||||||
- everything after `#` is considered to be a comment and will be ignored, and will not be printed out
|
- everything after `#` is considered to be a comment and will be ignored, and will not be printed out
|
||||||
- `echo <text>` will print out text, even if it could be recognized as a hledger command
|
- `echo <text>` will print out text, even if it could be recognized as a hledger command
|
||||||
|
|
||||||
You can use single quotes or double quotes to quote aguments that need quoting.
|
You can use single or double quotes to quote aguments that need it ('like this' or "like this").
|
||||||
|
|
||||||
### Caveats:
|
### Caveats:
|
||||||
|
|
||||||
|
|||||||
@ -23,8 +23,8 @@ considered to be a comment and will be ignored, and will not be printed
|
|||||||
out - echo <text> will print out text, even if it could be recognized as
|
out - echo <text> will print out text, even if it could be recognized as
|
||||||
a hledger command
|
a hledger command
|
||||||
|
|
||||||
You can use single quotes or double quotes to quote aguments that need
|
You can use single or double quotes to quote aguments that need it
|
||||||
quoting.
|
('like this' or "like this").
|
||||||
|
|
||||||
Caveats:
|
Caveats:
|
||||||
|
|
||||||
|
|||||||
@ -25,7 +25,7 @@ Syntax of the command is intentionally simple:
|
|||||||
- `echo <text>` will print out text, even if it could be recognized as a hledger command
|
- `echo <text>` will print out text, even if it could be recognized as a hledger command
|
||||||
- `run` is a valid command to use as well, so you can have `run` call `run` if you want to.
|
- `run` is a valid command to use as well, so you can have `run` call `run` if you want to.
|
||||||
|
|
||||||
You can use single quotes or double quotes to quote aguments that need quoting.
|
You can use single or double quotes to quote aguments that need it ('like this' or "like this").
|
||||||
|
|
||||||
You can use `#!/usr/bin/env hledger run` in the first line of the file to make it a runnable script. If this complains about "binary `hledger run` not found", use `/usr/bin/env -S hledger run`.
|
You can use `#!/usr/bin/env hledger run` in the first line of the file to make it a runnable script. If this complains about "binary `hledger run` not found", use `/usr/bin/env -S hledger run`.
|
||||||
|
|
||||||
|
|||||||
@ -29,8 +29,8 @@ and will not be printed out - echo <text> will print out text, even if
|
|||||||
it could be recognized as a hledger command - run is a valid command to
|
it could be recognized as a hledger command - run is a valid command to
|
||||||
use as well, so you can have run call run if you want to.
|
use as well, so you can have run call run if you want to.
|
||||||
|
|
||||||
You can use single quotes or double quotes to quote aguments that need
|
You can use single or double quotes to quote aguments that need it
|
||||||
quoting.
|
('like this' or "like this").
|
||||||
|
|
||||||
You can use #!/usr/bin/env hledger run in the first line of the file to
|
You can use #!/usr/bin/env hledger run in the first line of the file to
|
||||||
make it a runnable script. If this complains about "binary hledger run
|
make it a runnable script. If this complains about "binary hledger run
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user