diff --git a/ChangeLog b/ChangeLog index d5ebf94..9608dc4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2024-06-30 hwpplayer1 + + * python/csd_case_match.py: CSD shell script match case example written + 2024-06-23 hwpplayer1 * python/match.py: match example diff --git a/python/csd_case_match.py b/python/csd_case_match.py new file mode 100644 index 0000000..f6df2c2 --- /dev/null +++ b/python/csd_case_match.py @@ -0,0 +1,13 @@ +while True: + cmd = input('CSD>').strip() + match cmd: + case 'delete' | 'remove' | 'erase': + print('silme işlemi') + case 'copy': + print('kopyalama işlemi') + case 'rename': + print('isim değiştirme işlemi') + case 'exit' | 'quit': + break + case _: + print('geçersiz komut!') \ No newline at end of file