added test script as well. Changelog: https://github.com/mikefarah/yq/releases/tag/v4.5.1 Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
3 lines
46 B
Bash
3 lines
46 B
Bash
#!/bin/sh
|
|
|
|
yq --version 2>&1 | grep "${2#*v}"
|