blob: e254687d31a3b1c3cd8bbbf4885982bc04917d6b (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 | #! /bin/sh
set -euf
tempfile=`mktemp /tmp/test.XXXXXXXX`
trap "rm -f $tempfile" EXIT INT
anonbox.net >$tempfile
. $tempfile
{
  echo $email
} | {
  IFS=@. read _logname subdomain domain
  echo "$uri" | grep -q "^https://$domain/$subdomain/[^/][^/]*/$"
}
 |