#!/bin/bash #CSC128: Shell Script Examples - Word Counting Shell Script if test $2 = "lines" then wc -l $1 fi if test $2 = "words" then wc -w $1 fi