From 22405c93452b538b79a814da89ace7698e206fb4 Mon Sep 17 00:00:00 2001 From: Tit Petric Date: Mon, 18 Jun 2018 12:15:03 +0200 Subject: [PATCH] list interfaces as csv --- rbac/interfaces.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 rbac/interfaces.sh diff --git a/rbac/interfaces.sh b/rbac/interfaces.sh new file mode 100755 index 000000000..5c5c95263 --- /dev/null +++ b/rbac/interfaces.sh @@ -0,0 +1,2 @@ +#!/bin/bash +echo $(echo $(sed -n 's/^\(type \|\s*\)\([A-Z][^[:space:]]*\) interface .*/\2/p' "interfaces.go") | tr ' ' ',')