Skip to content

Commit 3603c49

Browse files
authored
Update the separator string in the Example (#6866)
Update the example description. Based on this text `findstr /i /c:hello /c:world /c:msbuild phrases.txt` the separator should be /c:
1 parent 4792b2a commit 3603c49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/msbuild/how-to-display-an-item-list-separated-with-commas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The separator can be either a single character or a string and must be enclosed
4242

4343
## Example
4444

45-
In this example, [Exec](../msbuild/exec-task.md) task runs the findstr tool to find specified text strings in the file, *Phrases.txt*. In the findstr command, literal search strings are indicated by the **-c:** switch, so the item separator, `-c:` is inserted between items in the `@(Phrase)` item list.
45+
In this example, [Exec](../msbuild/exec-task.md) task runs the findstr tool to find specified text strings in the file, *Phrases.txt*. In the findstr command, literal search strings are indicated by the **/c:** switch, so the item separator, ` /c:` is inserted between items in the `@(Phrase)` item list.
4646

4747
For this example, the equivalent command-line command is:
4848

0 commit comments

Comments
 (0)