mirror of
https://github.com/techarkit/shell-scripting-tutorial.git
synced 2025-07-28 23:28:40 +00:00
20 lines
406 B
Bash
20 lines
406 B
Bash
#!/bin/bash
|
|
##################################################
|
|
# Purpose: eval command Evaluating twice
|
|
# Version:1.0
|
|
# Created Date: Wed Jun 13 22:09:59 IST 2018
|
|
# Modified Date:
|
|
# WebSite: https://arkit.co.in
|
|
# Author: Ankam Ravi Kumar
|
|
##################################################
|
|
# START #
|
|
|
|
echo "addition of X+Y"
|
|
echo "Enter X"
|
|
read X
|
|
echo "Enter Y"
|
|
read Y
|
|
echo "X+Y = $X+$Y = $[ X+Y ]"
|
|
|
|
# END #
|