RosettaCodeData/Task/Long-multiplication/UNIX-Shell/long-multiplication-1.sh

2 lines
38 B
Bash

multiply() { echo "$1 $2 * p" | dc; }