From 6d9095a0ef38d3305f5f50a766f7daf978a0a5c0 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Mon, 6 Mar 2023 21:37:21 -0800 Subject: update --- home/xyz/.local/bin/mrt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'home') diff --git a/home/xyz/.local/bin/mrt b/home/xyz/.local/bin/mrt index c9aa27d0..5e65ec6e 100755 --- a/home/xyz/.local/bin/mrt +++ b/home/xyz/.local/bin/mrt @@ -22,6 +22,8 @@ mullvad relay update # info gawk Node: Ranges, 7.1.3 Specifying Record Ranges with Patterns # https://www.baeldung.com/linux/print-lines-between-two-patterns # https://stackoverflow.com/q/39384283/9008720 +# https://stackoverflow.com/a/38972737/9008720 +# https://stackoverflow.com/a/17988834/9008720 for relay in $(mullvad relay list | awk -v location="$location" ' $0 ~ location {f=1;next} /^\t[[:alpha:]]/ {f=0} f { -- cgit v1.2.3-70-g09d2