You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1080fe9
Browse filesBrowse the repository at this point in the historyBrowse files
a=[x for x in e[0]["arguments"] if "V=" in x or x.startswith(("-DV","/DV"))]
40
-
i=e[0]["arguments"].index(a[0]) if a else -1
41
-
print(json.dumps(e[0]["arguments"][i:i+2] if a else []))
42
-
PY
43
-
import json,sys
44
-
e=json.load(open(sys.argv[1]))
45
-
a=[x forxin e[0]["arguments"] if"V="in x]
46
-
print(json.dumps(a))
47
-
PY2
48
-
)
40
+
args=$("$PY" -c 'import json,sys; a=json.load(open(sys.argv[1]))[0]["arguments"]; i=[k for k,x in enumerate(a) if "V=" in x]; print(json.dumps(a[i[0]:i[0]+2]) if i else "[]")'"$cdb")
0 commit comments