If I have a program that multiplies the user-supplied value with 10, how do I write another bash script that has arguments passed to it and takes these arguments and collects the output of the other program and organizes it into a table?
For example:
[user]$ table 1 5
#
#Value Result
1 10
5 50
[user]$