#!/bin/sh # Fritz Sieker # convert line(s) containing only the word null to [] testName=$1 points=$2 testFile=$3 cookedFile=$4 # convert line(s) containing only the word null to [] sed "s/^null$/\[\]/" $testFile > $cookedFile