Advertisement
Guest User

Untitled

a guest
Aug 1st, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #!/bin/bash
  2. start=$(date +%s)
  3. inFile="input.txt"
  4. outFile="output.csv"
  5.  
  6. rm -f $inFile $outFile
  7.  
  8. while read line
  9. do
  10.  
  11. -- Block of Commands
  12.  
  13. done < "$inFile"
  14.  
  15. end=$(date +%s)
  16.  
  17. runtime=$((end-start))
  18.  
  19. echo "Program has finished execution in $runtime seconds."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement