forked from bonsai/harakit
24 lines
661 B
Bash
24 lines
661 B
Bash
|
#!/bin/sh
|
||
|
# Copyright (c) 2024 DTB <trinity@trinity.moe>
|
||
|
# Copyright (c) 2024 Emma Tebibyte <emma@tebibyte.media>
|
||
|
# SPDX-License-Identifier: FSFAP
|
||
|
#
|
||
|
# Copying and distribution of this file, with or without modification, are
|
||
|
# permitted in any medium without royalty provided the copyright notice and this
|
||
|
# notice are preserved. This file is offered as-is, without any warranty.
|
||
|
|
||
|
intcmp -e 3 3 3
|
||
|
intcmp -g 3 2 1
|
||
|
intcmp -l 1 2 3
|
||
|
intcmp -ge 3 3 1
|
||
|
intcmp -le 1 3 3
|
||
|
intcmp -gl 1 2 3
|
||
|
intcmp -egl 3 1 1 2
|
||
|
! intcmp -e 1 2 3
|
||
|
! intcmp -g 1 3 3
|
||
|
! intcmp -l 3 3 1
|
||
|
! intcmp -ge 1 2 3
|
||
|
! intcmp -le 3 2 1
|
||
|
! intcmp -gl 3 3 3
|
||
|
! intcmp -egl foo
|