TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


technote:markdown_reports

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
technote:markdown_reports [2026/09/18 01:07] – created Scott Cunliffetechnote:markdown_reports [2026/09/18 01:21] (current) – [References] Scott Cunliffe
Line 43: Line 43:
 set "TMSSREPORTFORMAT=MARKDOWN" set "TMSSREPORTFORMAT=MARKDOWN"
  
-TMSS10Inventory </code>+TMSS10Inventory 
 +</code>
  
 Using the quoted ''set'' syntax prevents accidental trailing spaces from becoming part of the environment variable value. Using the quoted ''set'' syntax prevents accidental trailing spaces from becoming part of the environment variable value.
Line 94: Line 95:
 set "TMSSREPORTFORMAT=MARKDOWN" set "TMSSREPORTFORMAT=MARKDOWN"
  
-TMSS10Inventory > out.md 2> err.txt </code>+TMSS10Inventory > out.md 2> err.txt 
 +</code>
  
 The processing flow is: The processing flow is:
Line 116: Line 118:
 set "TMSSREPORTFORMAT=MARKDOWN" set "TMSSREPORTFORMAT=MARKDOWN"
  
-TMSS10Inventory > out.md 2> err.txt </code>+TMSS10Inventory > out.md 2> err.txt 
 +</code>
  
 A subsequent execution can save the second report as: A subsequent execution can save the second report as:
Line 124: Line 127:
 set "TMSSREPORTFORMAT=MARKDOWN" set "TMSSREPORTFORMAT=MARKDOWN"
  
-TMSS10Inventory > out2.md 2> err2.txt </code>+TMSS10Inventory > out2.md 2> err2.txt 
 +</code>
  
 The directory may then contain: The directory may then contain:
Line 206: Line 210:
 ``` ```
  
-} </code>+} 
 +</code>
  
 This example displays the contents of ''out.md'' and colours lines red when the corresponding line in ''out2.md'' is different. This example displays the contents of ''out.md'' and colours lines red when the corresponding line in ''out2.md'' is different.
Line 246: Line 251:
 TMSS10Inventory > out.md 2> err.txt TMSS10Inventory > out.md 2> err.txt
  
-glow -s dark -w 120 .\out.md </code>+glow -s dark -w 120 .\out.md 
 +</code>
  
 After generating a second report: After generating a second report:
Line 253: Line 259:
 glow -s dark -w 120 .\out2.md glow -s dark -w 120 .\out2.md
  
-Compare-Object (Get-Content .\out.md) (Get-Content .\out2.md) </code>+Compare-Object (Get-Content .\out.md) (Get-Content .\out2.md) 
 +</code>
  
 ===== Validation ===== ===== Validation =====
Line 309: Line 316:
 * [[https://github.com/charmbracelet/glow|Glow Markdown Renderer]] * [[https://github.com/charmbracelet/glow|Glow Markdown Renderer]]
 * [[https://github.com/charmbracelet/glow#the-cli|Glow CLI]] * [[https://github.com/charmbracelet/glow#the-cli|Glow CLI]]
 +
 +
 +{{tag> technote markdown glow}}
  
technote/markdown_reports.1789693679.txt.gz · Last modified: 2026/09/18 01:07 by Scott Cunliffe