#!/bin/bash
echo "number of input:"
echo $#
echo "content of input:"
echo $@
echo "please input a number:"
read num
printf "%s : %d\n" "tne input content" $num
#!/bin/bash
echo "number of input:"
echo $#
echo "content of input:"
echo $@
echo "please input a number:"
read num
printf "%s : %d\n" "tne input content" $num