Statistics
| Branch: | Revision:

psnr-tools / chunks_lost.sh @ master

History | View | Annotate | Download (480 Bytes)

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