⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makesrclist

📁 大名鼎鼎的传感器网络仿真实验室平台SENSE
💻
字号:
#! /bin/bash# Extract information from the run output, .stat and .nodes files# It assumes that only one file of the type xxx-<seed> since it uses wildcards.# This creates intermediate files with extensions:#   .fgrep, .src, .intermediate, .arrow## The final output file is <seed>.jpgseedList="4 5 7 98 101 564 840 1532 2100 3692"#seedList="4"for seed in $seedList; do    echo "-------------------- $seed --------------------"    # extract source nodes from output file    grep transmissions *-$seed > temp    awk '{ printf( "^%d\\>\n", $2)}' temp > fgrep.in    rm temp    # create gnuplot data files containing either source nodes...    grep -f fgrep.in *-$seed.nodes > srcFile    # ...or intermediate nodes    grep -v -f fgrep.in *-$seed.nodes > nodeFile    rm fgrep.in    rm -f arrowFile nodeFile    mv srcFile $seed.sourcesdone

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -