From 264ae2f047a53ffac92271e4609038d17605738e Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 26 Jul 2019 23:17:36 +0200 Subject: exam final --- exam_final/subjects/5-0-last_word/examples.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 exam_final/subjects/5-0-last_word/examples.txt (limited to 'exam_final/subjects/5-0-last_word/examples.txt') diff --git a/exam_final/subjects/5-0-last_word/examples.txt b/exam_final/subjects/5-0-last_word/examples.txt new file mode 100644 index 0000000..63250f2 --- /dev/null +++ b/exam_final/subjects/5-0-last_word/examples.txt @@ -0,0 +1,11 @@ +$> ./last_word "FOR PONY" | cat -e +PONY$ +$> ./last_word "this ... is sparta, then again, maybe not" | cat -e +not$ +$> ./last_word " " | cat -e +$ +$> ./last_word "a" "b" | cat -e +$ +$> ./last_word " lorem,ipsum " | cat -e +lorem,ipsum$ +$> -- cgit