diff options
Diffstat (limited to 'home/xyz/.local/bin/mrt')
-rwxr-xr-x | home/xyz/.local/bin/mrt | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |