sample.trp 454 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #! /usr/bin/tripl
  2. < "libc-2.33.so" @ shared;
  3. extern int *function(int arg, const asdf);
  4. int function2();
  5. char *functio2n(void);
  6. < function3 ( a, b, c ) @ fn;
  7. < function4 4 @ fn;
  8. $ a = +10;
  9. -10 -> a;
  10. !; # this is a comment
  11. ` "/usr/bin/bash" {
  12. echo "greeting from bash :-)"
  13. read -p "input a number, please: " nr
  14. case $nr in
  15. 1)
  16. echo "a"
  17. ;;
  18. 2)
  19. echo "b"
  20. ;;
  21. 3)
  22. echo "c"
  23. ;;
  24. *)
  25. echo "well... "
  26. ;;
  27. esac
  28. };