Listing 1. Inventory Table Script

#!/bin/sh
row 'Cost < 50' < inventory |
addcol 'Value' |
compute 'Value = Cost * Quantity' |
column 'Value Description'