3
0

list interfaces as csv

This commit is contained in:
Tit Petric
2018-06-18 12:15:03 +02:00
parent 104162ec20
commit 22405c9345
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
echo $(echo $(sed -n 's/^\(type \|\s*\)\([A-Z][^[:space:]]*\) interface .*/\2/p' "interfaces.go") | tr ' ' ',')