Files
linux_intro/labs/lab2/scripts/script222.sh
2025-10-01 22:52:39 +03:00

10 lines
145 B
Bash
Executable File

#!/bin/bash
[ "$#" -ne 3 ] && echo "usage: $0 a b c" && exit 1
a=$1
b=$2
c=$3
max=$a
(( b > max )) && max=$b
(( c > max )) && max=$c
echo "$max"