openwrt-packages/utils/yq/test.sh

4 lines
46 B
Bash

#!/bin/sh
yq --version 2>&1 | grep "${2#*v}"