Skip to content

Commit

Permalink
Add program-output-compare utility script
Browse files Browse the repository at this point in the history
  • Loading branch information
IliyanVidev committed Aug 21, 2024
1 parent 3bd7ff9 commit 80a4ae2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/compare-out.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$CsvOut = Get-Content '.\resources\Градове-Форматирани`[CSV`].json'
$TextOut = Get-Content '.\resources\Градове-Форматирани`[TEXT`].json'

Compare-Object $CsvOut $TextOut
6 changes: 6 additions & 0 deletions scripts/compare-out.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

CSV_OUT="./resources/Градове-Форматирани[CSV].json"
TEXT_OUT="./resources/Градове-Форматирани[TEXT].json"

diff $CSV_OUT $TEXT_OUT

0 comments on commit 80a4ae2

Please sign in to comment.