Skip to content
Snippets Groups Projects
Commit 1e1d0534 authored by Markus Opolka's avatar Markus Opolka
Browse files

Update aufgabe5

parent 87c011e8
No related branches found
No related tags found
No related merge requests found
...@@ -13,8 +13,8 @@ Schreiben Sie ein Programm, dass die Kommandozeilen Programme "head" und "tail" ...@@ -13,8 +13,8 @@ Schreiben Sie ein Programm, dass die Kommandozeilen Programme "head" und "tail"
Der Benutzer soll auf falsche Benutztung hingewiesen werden (Falsche Parameter, nicht existierende Datei, etc). Der Benutzer soll auf falsche Benutztung hingewiesen werden (Falsche Parameter, nicht existierende Datei, etc).
Beispiel: Beispiel:
- headtail.py --head -n 10 myfile.txt - headtail.py --head --n 10 myfile.txt
- headtail.py --tail -n 10 myfile.txt - headtail.py --tail --n 10 myfile.txt
Hinweis: https://docs.python.org/3/library/os.path.html Hinweis: https://docs.python.org/3/library/os.path.html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment