#!/bin/sh if [ $# -ne 3 ] || [ "$1" = "-h" ]; then cat <' '/^1 / {print value * substr($3, 1, index($3," "))}'