veilid/package/cargo_version.sh

5 lines
76 B
Bash
Raw Normal View History

2022-05-16 15:52:48 +00:00
#!/bin/bash
INPUTFILE=$1
cat $1 | grep version | head -n 1 | cut -d\" -f 2