Skip to content

Commit ff07b82

Browse files
authored
Merge pull request #107920 from lanicolas/patch-13
Aligning with Bash style guide
2 parents b6f735e + 21a4e06 commit ff07b82

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/governance/machine-configuration/overview.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,10 +401,10 @@ Capture information from log files using
401401
following example Bash script can be helpful.
402402

403403
```bash
404-
linesToIncludeBeforeMatch=0
405-
linesToIncludeAfterMatch=10
406-
logPath=/var/lib/GuestConfig/gc_agent_logs/gc_agent.log
407-
egrep -B $linesToIncludeBeforeMatch -A $linesToIncludeAfterMatch 'DSCEngine|DSCManagedEngine' $logPath | tail
404+
LINES_TO_INCLUDE_BEFORE_MATCH=0
405+
LINES_TO_INCLUDE_AFTER_MATCH=10
406+
LOGPATH=/var/lib/GuestConfig/gc_agent_logs/gc_agent.log
407+
egrep -B $LINES_TO_INCLUDE_BEFORE_MATCH -A $LINES_TO_INCLUDE_AFTER_MATCH 'DSCEngine|DSCManagedEngine' $LOGPATH | tail
408408
```
409409

410410
### Agent files

0 commit comments

Comments
 (0)