psnr-tools / chunks_lost.sh @ master
History | View | Annotate | Download (480 Bytes)
1 |
#!/bin/bash |
---|---|
2 |
########################################### |
3 |
# Copyright (c) 2009 Csaba Kiraly # |
4 |
# # |
5 |
# This is free software; see gpl-3.0.txt # |
6 |
########################################### |
7 |
|
8 |
[[ $# -eq 2 ]] || { echo "Usage: $0 <nodeID> [<folder>]"; exit 1; } |
9 |
|
10 |
nodeColumn=$(($1 + 2 )) |
11 |
chunkIDcolumn=1 |
12 |
outputFile=$2/Absolute_time_arrival.out #Chunk_delay.out |
13 |
|
14 |
awk '{if ($'$nodeColumn'=="-1.00000") print $'$chunkIDcolumn'}' $outputFile |