Advertisement
anubisg1

Untitled

Nov 25th, 2013
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.35 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. echo -----------------
  4. echo '  TIME  |  TEMP  '
  5. echo -----------------
  6.  
  7. while read one two three four five six seven eight nine rest
  8.        do
  9.                 if [[ $four == TIME* ]]
  10.                                 then
  11.                                         printf '%s | %s\n' "$six" "$nine"
  12.                 fi
  13.        done < rst.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement