Question: What are the errors ? Listing 1 . processFile.sh # ! / usr / bin / env bash # FileName: ways _ to _ parse

What are the errors ?
Listing 1.
processFile.sh
#!/usr/bin/env bash
# FileName: ways_to_parse_a_file.sh
# Purpose: This script shows the different ways of reading a file line-by-line and compares their speed
InFile =${1}
OutFile=tempfile.out
# Color Variables
CB='' # Black - Regular
CR=' # Red
' # Green
# Yellow
' # Blue
CP='\e[0;35m' # Purple
CC='\e[0;36m' # Cyan
' # White
function method1(){
echo -e "${CG} Method 1: Using cat to print the file while reading line by line ${CY}
cat InFile
 What are the errors ? Listing 1. processFile.sh #!/usr/bin/env bash #

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!