rejetto / hfs2

web based file server
https://rejetto.com/hfs
GNU General Public License v3.0
601 stars 131 forks source link

`alias.txt`: `between` alias macro not closed properly #19

Open NaitLee opened 3 years ago

NaitLee commented 3 years ago

between and between! macros in alias.txt are broken. There are pairs of .} missing, which should be there to close {.and.

They should be:

between=if|{.$1 < $3.}|{:{.and|{.$1 <= $2.}|{.$2 <= $3.}.}:}|{:{.and|{.$3 <= $2.}|{.$2 <= $1.}.}:}
between!=if|{.$1 < $3.}|{:{.and|{.$1 < $2.}|{.$2 < $3.}.}:}|{:{.and|{.$3 < $2.}|{.$2 < $1.}.}:}

Fix it ;)

rejetto commented 3 years ago

thanks