7 lines
85 B
Bash
7 lines
85 B
Bash
#!/bin/sh
|
|
|
|
case "$1" in
|
|
"xray-core")
|
|
xray version 2>&1 | grep "${2#*v}"
|
|
;;
|
|
esac
|