Skip to content

Commit

Permalink
mpvc: Update mpvc
Browse files Browse the repository at this point in the history
  • Loading branch information
gmt4 committed Jan 4, 2025
1 parent 141a8c5 commit c333140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpvc
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ mpvc_ytquery() { mpvc_ytquery_field 'title' "$@"; }

mpvc_getjson() {
#awk '/'"$1"'/{ sub(".*'"$1"'\":\"?",""); sub("\"?,\".+\".*",""); sub(", }$", ""); print }'
while read -r l1; do l1=${l1##*'"'$1'":'}; l1=${l1%%','*}; l1=${l1##'"'}; l1=${l1%%'"'}; echo $l1; done
while read -r l1; do l1=${l1##*'"'$1'":'}; l1=${l1%%'",'*}; l1=${l1##'"'}; l1=${l1%%'"'}; echo $l1; done
}

mpvc_socklist() {
Expand Down

0 comments on commit c333140

Please sign in to comment.