#!/usr/bin/env bash
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
os=$(uname)
case $os in
MirBSD|OpenBSD)
/usr/bin/tsort -r
;;
NetBSD|FreeBSD|Darwin)
/usr/bin/tsort | tail -r
;;
*)
/usr/bin/tsort | tac
;;
esac