aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-135/abigail/awk/ch-1.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-135/abigail/awk/ch-1.awk b/challenge-135/abigail/awk/ch-1.awk
index 210b27b9b0..e446ce9669 100644
--- a/challenge-135/abigail/awk/ch-1.awk
+++ b/challenge-135/abigail/awk/ch-1.awk
@@ -25,4 +25,4 @@ length ($0) < 3 {print "too short"; next}
# Print the middle three digits
#
- {print substr ($0, 1 + int ((length ($0) - 3) / 2), 3)}
+ {print substr ($0, 1 + (length ($0) - 3) / 2, 3)}