mirror of
https://github.com/iluvcapra/mfbatch.git
synced 2025-12-31 17:00:50 +00:00
Added some commentary
This commit is contained in:
@@ -140,7 +140,8 @@ class BatchfileParser:
|
|||||||
"""
|
"""
|
||||||
A batchfile is a text file of lines. Lines either begin with a '#' to denote a
|
A batchfile is a text file of lines. Lines either begin with a '#' to denote a
|
||||||
comment, a ':' to denote a Command, and if neither of these are present, the
|
comment, a ':' to denote a Command, and if neither of these are present, the
|
||||||
line is interpreted as a file path to act upon. Empty lines are ignored.
|
line is interpreted as a file path to act upon. Empty lines are ignored. Lines
|
||||||
|
are split into arguments using `shlex.split`.
|
||||||
|
|
||||||
If a line ends with a backslash '\\', the backslash is deleted and the contents
|
If a line ends with a backslash '\\', the backslash is deleted and the contents
|
||||||
of the following line are appended to the end of the present line.
|
of the following line are appended to the end of the present line.
|
||||||
|
|||||||
Reference in New Issue
Block a user