From e4a64e24aad579c1243bcc3e5fdb2c7495100c75 Mon Sep 17 00:00:00 2001 From: Amit Pinchas Date: Sat, 24 Jan 2026 19:30:44 +0200 Subject: [PATCH] Copied my answers to Ex10 , modifying 'q1.sh' and adding file 'q2.sh' --- q1.sh | 11 ++++++++++- q2.sh | 5 +++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 q2.sh diff --git a/q1.sh b/q1.sh index f7ac848..c7e9e02 100644 --- a/q1.sh +++ b/q1.sh @@ -1 +1,10 @@ -This is q1 answer +awk 'END {print NR}' aliceinwonderland.txt + +awk '{for (i=2;i