Sharing of my labs carried out during the TDDE18 course at Linköping University
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

demo.sh 482B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. # TDDE18 - Lab 5 - Demo script
  3. g++ -Wall -Wextra -Wpedantic -std=c++17 *.cc -o out.o
  4. echo '[+] Executing: "a.out example.html -a"'
  5. ./out.o samples/example.html -a
  6. echo ""
  7. echo '[+] Executing: "a.out example.html -f"'
  8. ./out.o samples/example.html -f
  9. echo ""
  10. echo '[+] Executing: "a.out example.html -o 14"'
  11. ./out.o samples/example.html -o 14
  12. echo ""
  13. echo '[+] Executing: "a.out example.html -o 9"'
  14. ./out.o samples/example.html -o 9
  15. echo ""
  16. rm out.o -f
  17. echo "Done."