Table of Contents
- DISCLAIMER 2. Status 3. Introduction 4. Security issues 5. DNS
| #!/bin/bash | |
| #Ensure nothing happens outside the directory this script is ran from | |
| cd "$(dirname "$0")" | |
| SCRIPT_DIRECTORY=$(pwd) | |
| #Log File Variable | |
| SCREEN_LOG="build.log" | |
| SCREEN_NAME="switchroot_build" |
| #This example does NOT account for random colon, comma, or apostrophe values that may be inside of a JSON String Key/Value | |
| #This is a starting point for functions that may end up needing to be more complicated | |
| #Under no circumstances should you use this outside of an academic forum, highly suggest using the built in JSON library in Python | |
| def parse(inputVar): | |
| dictionaryToReturn = {} | |
| currentValue = '' |
Table of Contents