diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-03-06 21:37:21 -0800 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-03-06 21:38:34 -0800 |
commit | 9c42e0e0456651d32b5b8c6557d4f84ad24cef11 (patch) | |
tree | 19889e8c82a3e74a8e4e519ad52b2c6fe4f2bdd9 /home/xyz/.local | |
parent | a8dd88a4603133a9fa3b1ef883184fc9b4527e07 (diff) |
update
Diffstat (limited to 'home/xyz/.local')
-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 { |