mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-22 08:10:17 +02:00
usrp/plscan: truncate title at the last dot, not the first
- usrp/plscan: change ${n%%.*} to ${n%.*} - usrp/README: updated description
This commit is contained in:
parent
66f6ad6f7c
commit
59beaba426
@ -188,6 +188,6 @@ gnuplot to output either in a window or to a PNG file.
|
||||
Usage: plscan [-o pngfile] file ...
|
||||
|
||||
More than one graph can be plotted in the same run. The file name is used
|
||||
as the title for each graph. Titles are truncated at the first dot.
|
||||
as the title for each graph. Titles are truncated at the last dot.
|
||||
|
||||
Example: ./plscan testant.out
|
||||
|
@ -24,7 +24,7 @@ set title "Received signal strength"
|
||||
set data style errorlines
|
||||
plot \
|
||||
`for n in $@; do
|
||||
echo -n $comma \'$n\' title \'${n%%.*}\'
|
||||
echo -n $comma \'$n\' title \'${n%.*}\'
|
||||
comma=,
|
||||
done`
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user