Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- for (( i = 1; i <= 30; i++))
- do
- for (( k = 1; k <= 30; k++))
- do
- j=`head -$i tiempo_$k.txt | tail -1 | cut -f1`
- touch promedio_"$j".log
- head -$i tiempo_$k.txt | tail -1 | grep $j | cut -f2 -d" " >> promedio_"$j".log
- done
- done
Advertisement
Add Comment
Please, Sign In to add comment