Open earthbound19 opened 4 years ago
Update all scripts that count lines to the following more elegant:
numColors=`awk 'END{print NR}' inputFile.txt
The scripts may have used something like this: wc RAHfavoriteColorsHex.hexplt -l
wc RAHfavoriteColorsHex.hexplt -l
-- and then sed processing
Update all scripts that count lines to the following more elegant:
numColors=`awk 'END{print NR}' inputFile.txt
The scripts may have used something like this:
wc RAHfavoriteColorsHex.hexplt -l
-- and then sed processing