4 lines
106 B
Bash
Executable file
4 lines
106 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
input="${1:-"/dev/stdin"}"
|
|
php -r "echo json_encode(simplexml_load_file('$input'));"
|