Advertisement
Patasuss

TI2

Nov 23rd, 2015
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. Quellen zu Ueb4:
  2. Splitten des Strings: http://stackoverflow.com/questions/289347/using-strtok-with-a-stdstring
  3. Existenz der Datei prüfen: http://stackoverflow.com/questions/230062/whats-the-best-way-to-check-if-a-file-exists-in-c-cross-platform
  4.  
  5. ti2sh$ ls
  6. command: ls, background: nein
  7. argPrint.cpp Makefile parser.h r.l r.o ti2sh ti2sh.cc ti2sh.cc~ ti2sh.o
  8. ti2sh$ g++ argPrint.cpp -o argPrint
  9. command: g++, background: nein
  10. ti2sh$ ./argPrint arg1 arg2 ichbincool
  11. command: ./argPrint, background: nein
  12. ./argPrint
  13. arg1
  14. arg2
  15. ichbincool
  16. ti2sh$ mkdir SomeFolder
  17. command: mkdir, background: nein
  18. ti2sh$ cp argPrint SomeFolder/argPrint
  19. command: cp, background: nein
  20. ti2sh$ SomeFolder/argPrint arg1 arg2 oderdochnicht
  21. command: SomeFolder/argPrint, background: nein
  22. SomeFolder/argPrint
  23. arg1
  24. arg2
  25. oderdochnicht
  26. ti2sh$ xterm
  27. command: xterm, background: nein
  28. ti2sh$ xterm&
  29. command: xterm, background: ja
  30. ti2sh$ sleep& 20
  31. ti2sh: Mehrere Kommandos nicht implementiert!
  32. ti2sh$ sleep 20
  33. command: sleep, background: nein
  34. ti2sh$ sleep 10
  35. command: sleep, background: nein
  36. ti2sh$ echo das wars
  37. command: echo, background: nein
  38. ti2sh$ das wars
  39. fail
  40. command: fail, background: nein
  41. No such command
  42. ti2sh$ ^C
  43.  
  44. ti2sh$ ichbinkeinbefehl
  45. command: ichbinkeinbefehl, background: nein
  46. No such command
  47. ti2sh$ ichbinkeinbefehl&
  48. command: ichbinkeinbefehl, background: ja
  49. No such command
  50. ti2sh$ ./keinbefehl
  51. command: ./keinbefehl, background: nein
  52. No access to file / No file
  53. ti2sh$ ./KeinOrdner/keinbefehl
  54. command: ./KeinOrdner/keinbefehl, background: nein
  55. No access to file / No file
  56. ti2sh$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement