blob: e7a906ef56b0c47c0d3ca8c55fa595c8a3e6115b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
#
# See ../README.md
#
#
# Run as: bash ch-1.sh < input-file
#
set -f
IFS=","
SUM_15=120
while read number tail; do ((sum += number)); done
echo $((SUM_15 - sum))
|