This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"plans":[ | |
{ | |
"rooms":{ | |
"trading":[ | |
{ | |
"product":"LMD", | |
"operators":[ | |
"巫恋", | |
"龙舌兰", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A shell function that mimics the defaults command using /usr/libexec/PlistBuddy | |
function defaults2() { | |
# Check the number of arguments | |
# If the number of arguments is less then 2, fallback to defaults command | |
if [ $# -lt 2 ]; then | |
/usr/bin/defaults "$@" | |
return $? | |
fi |