Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- start=$(date +%s)
- inFile="input.txt"
- outFile="output.csv"
- rm -f $inFile $outFile
- while read line
- do
- -- Block of Commands
- done < "$inFile"
- end=$(date +%s)
- runtime=$((end-start))
- echo "Program has finished execution in $runtime seconds."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement