summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/mrt
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-03-27 21:18:44 -0700
committerXiao Pan <gky44px1999@gmail.com>2023-03-30 01:48:15 -0700
commitb6ae61dff6b22a7cefd3cba3f7b79648ceb56ad7 (patch)
tree4bc6734f1415c5577875ec510d22ac04e63683d9 /home/xyz/.local/bin/mrt
parenta44b251305dd6c14860d91fd3dfba3783013cf0f (diff)
more comments
Diffstat (limited to 'home/xyz/.local/bin/mrt')
-rwxr-xr-xhome/xyz/.local/bin/mrt1
1 files changed, 1 insertions, 0 deletions
diff --git a/home/xyz/.local/bin/mrt b/home/xyz/.local/bin/mrt
index 883ab8f0..f370b48d 100755
--- a/home/xyz/.local/bin/mrt
+++ b/home/xyz/.local/bin/mrt
@@ -25,6 +25,7 @@ mullvad relay update
# https://stackoverflow.com/q/39384283/9008720
# https://stackoverflow.com/a/38972737/9008720
# https://stackoverflow.com/a/17988834/9008720
+# https://unix.stackexchange.com/q/63891/459013
for relay in $(mullvad relay list | awk -v location="$location" '
$0 ~ location {f=1;next}
/^\t[[:alpha:]]/ {f=0}