mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-22 20:03:09 +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
|
set data style errorlines
|
||||||
plot \
|
plot \
|
||||||
`for n in $@; do
|
`for n in $@; do
|
||||||
echo -n $comma \'$n\' title \'\`echo "$n" | sed "s/\..*//"\`\'
|
echo -n $comma \'$n\' title \'${n%%.*}\'
|
||||||
comma=,
|
comma=,
|
||||||
done`
|
done`
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user