IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Git Source Tree
Root/
| Source at commit 5aa2adfb4301782bc7f7fedfe03c2679b2c9195c created 7 years 3 months ago. By Werner Almesberger, atusb/Makefile (upload): include atusb-Cmts.User.gbr; change upload dir | |
|---|---|
| 1 | #!/bin/bash -x |
| 2 | |
| 3 | usage() |
| 4 | { |
| 5 | echo "usage: $0 [evscan-opt ... --] [plscan-opt ...] 'file-glob'" 1>&2 |
| 6 | exit 1 |
| 7 | } |
| 8 | |
| 9 | |
| 10 | [ "$1" ] || usage |
| 11 | evscan_opts= |
| 12 | opts= |
| 13 | while [ "$2" ]; do |
| 14 | if [ "$1" = -- ]; then |
| 15 | evscan_opts=$opts |
| 16 | opts= |
| 17 | else |
| 18 | opts="$opts $1" |
| 19 | fi |
| 20 | shift |
| 21 | done |
| 22 | a= |
| 23 | for n in $1; do |
| 24 | a="$a `basename $n`=<(./evscan $evscan_opts $n)" |
| 25 | done |
| 26 | eval ./plscan $opts $a |
| 27 | |
