veilid/package/cargo_version.sh

5 lines
76 B
Bash
Raw Normal View History

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