Advertisement
atanasovetr

Untitled

Jun 2nd, 2021
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. if [ $1 -lt $2 ]; then
  4. if [ $1 -lt $3 ]; then
  5. echo $1
  6. else
  7. echo $3
  8. fi
  9. else
  10. echo $2
  11. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement