Script tweaks - added start of stack overflow script
This commit is contained in:
parent
50c38d4349
commit
1a0c852712
5 changed files with 707 additions and 0 deletions
4
bin/.bin/conversion/xml-to-json
Executable file
4
bin/.bin/conversion/xml-to-json
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
input="${1:-"/dev/stdin"}"
|
||||
php -r "echo json_encode(simplexml_load_file('$input'));"
|
Loading…
Add table
Add a link
Reference in a new issue