diff options
author | Ole Mathias Heggem <olemathias.aa.heggem@gmail.com> | 2023-01-21 19:07:38 +0100 |
---|---|---|
committer | Ole Mathias Heggem <olemathias.aa.heggem@gmail.com> | 2023-01-21 19:07:38 +0100 |
commit | 709c78569b26677624e60588fa1166dc659ac93c (patch) | |
tree | 2bd5555af31b637d03693b8563fb24b41bf1f22b /tools/add_switches.txt.pl | |
parent | f5da0d943401e527f5162e9c6344deb65b19b045 (diff) |
chore: cleanup repo
Diffstat (limited to 'tools/add_switches.txt.pl')
-rwxr-xr-x | tools/add_switches.txt.pl | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/add_switches.txt.pl b/tools/add_switches.txt.pl deleted file mode 100755 index 635e356..0000000 --- a/tools/add_switches.txt.pl +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/perl -# Usage: ./add_switches.txt.pl < switches.txt > switches.json -# -# Parses switches.txt into json currently just throws it to stdout -# -# Actually adding them to a DB comes later. - -use strict; -use warnings; -use Data::Dumper; -use lib '../include'; -use JSON; -use nms::util; - -my @switches = parse_switches_txt(*STDIN); - -print JSON::XS::encode_json(\@switches); |