W.A.S.S to combine two files horizontally and vertically.
Program
# W.A.S.S to combine two files horizontally
cat file1.sh file2.sh
Output
str=`date +%k`
if test $str -gt 16
then
echo "Good Evening!"
else
if test $str -gt 12
then
echo "Good Afternoon!"
else
echo "Good Morning!"
fi
fi
echo "Enter the no:"
read x
echo "Enter the input base:"
read i
echo "Enter the output base:"
read o
echo "output no:"
echo "ibase=$i;obase=$o;$x" | bc
Program
# W.A.S.S to combine two files vertically
paste file1.sh file2.sh
Output
str=`date +%k` echo "Enter the no:"
if test $str -gt 16 read x
then echo "Enter the input base:"
echo "Good Evening!" read i
echo "Enter the output base:"
else read o
if test $str -gt 12 echo "output no:"
then echo "ibase=$i;obase=$o;$x" | bc
echo "Good Afternoon!"
else
echo "Good Morning!"
fi
fi