Skip to content

Commit ee40f44

Browse files
committed
typos and grammar
1 parent 3501bc9 commit ee40f44

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

doc/specs/stdlib_system.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ Pure function
557557

558558
`p1, p2`: Shall be a character string. It is an `intent(in)` argument.
559559
or
560-
`p`: Shall be a list of character strings. `intent(in)` argument.
560+
`p`: Shall be a list of character strings. It is an `intent(in)` argument.
561561

562562
### Return values
563563

@@ -581,9 +581,9 @@ Pure function.
581581

582582
### Arguments
583583

584-
`lval`: A character string, `intent(in)`.
584+
`lval`: A character string. It is an `intent(in)` argument.
585585

586-
`rval`: A character string, `intent(in)`.
586+
`rval`: A character string. It is an `intent(in)` argument.
587587

588588
### Result value
589589

@@ -615,15 +615,15 @@ Subroutine
615615

616616
### Arguments
617617

618-
`p`: A character string containing the path to be split. `intent(in)`
619-
`head`: The first part of the path. `allocatable, intent(out)`
620-
`tail`: The rest part of the path. `allocatable, intent(out)`
618+
`p`: A character string containing the path to be split. It is an `intent(in)` argument.
619+
`head`: The first part of the path. It is an `allocatable, intent(out)` argument.
620+
`tail`: The rest part of the path. It is an `allocatable, intent(out)` argument.
621621

622622
### Behavior
623623

624-
- If `p` is empty, `head` is set to `.` and `tail` is empty
625-
- If `p` consists entirely of path-separators. `head` is set to the path-separator and `tail` is empty
626-
- `head` ends in a path-separator if and only if `p` appears to be a root directory or child of one
624+
- If `p` is empty, `head` is set to `.` and `tail` is left empty.
625+
- If `p` consists entirely of path-separators, `head` is set to the path-separator and `tail` is left empty.
626+
- `head` ends with a path-separator if and only if `p` appears to be a root directory or child of one.
627627

628628
### Return values
629629

@@ -654,11 +654,11 @@ Function
654654

655655
### Arguments
656656

657-
`p`: the path, a character string, `intent(in)`
657+
`p`: the path, a character string. It is an `intent(in)` argument.
658658

659659
### Behavior
660660

661-
- The `tail` of `stdlib_system(module):split_path(interface)` is exactly what is returned. Same Behavior.
661+
- The `tail` of `[[stdlib_system(module):split_path(interface)]]` is exactly what is returned. Same Behavior.
662662

663663
### Return values
664664

@@ -689,11 +689,11 @@ Function
689689

690690
### Arguments
691691

692-
`p`: the path, a character string, `intent(in)`
692+
`p`: the path, a character string. It is an `intent(in)` argument.
693693

694694
### Behavior
695695

696-
- The `head` of `stdlib_system(module):split_path(interface)` is exactly what is returned. Same Behavior.
696+
- The `head` of `[[stdlib_system(module):split_path(interface)]]` is exactly what is returned. Same Behavior.
697697

698698
### Return values
699699

0 commit comments

Comments
 (0)