tsort 266 B

12345678910111213
  1. #!/usr/bin/env bash
  2. # This file is part of the OpenADK project. OpenADK is copyrighted
  3. # material, please see the LICENCE file in the top-level directory.
  4. os=$(uname)
  5. case $os in
  6. NetBSD|MirBSD|OpenBSD)
  7. /usr/bin/tsort -r
  8. ;;
  9. *)
  10. /usr/bin/tsort | tac
  11. ;;
  12. esac