mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-25 18:57:11 +02:00
usrp/plscan: instead of echo ... sed ...
, just use ${n%%.*}
This commit is contained in:
parent
e31144ff5f
commit
45d5946435
@ -24,7 +24,7 @@ set title "Received signal strength"
|
||||
set data style errorlines
|
||||
plot \
|
||||
`for n in $@; do
|
||||
echo -n $comma \'$n\' title \'\`echo "$n" | sed "s/\..*//"\`\'
|
||||
echo -n $comma \'$n\' title \'${n%%.*}\'
|
||||
comma=,
|
||||
done`
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user