diff options
Diffstat (limited to 'booktime')
-rwxr-xr-x | booktime | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/booktime b/booktime index 2b4f2be..9133210 100755 --- a/booktime +++ b/booktime @@ -12,7 +12,7 @@ ip=$(finger $NICK 2>/dev/null | egrep -o -m 1 '([0-9]{1,3}\.){3}[0-9]{1,3}') [[ -n $ip ]] && TIMEZONE=$(curl -s "https://ipapi.co/$ip/timezone") TIME=$(TZ=$TIMEZONE date "+%H:%M") -SENTS="/home/noa/doc/booktime.psv" +SENTS="/town/our/data/booktime.psv" awk -F '|' -v time="$TIME" \ '{ if ($1 == time) { print $3 " --" $5 ", " $4 } else {next }}' "$SENTS" \ |