Date:2010-11-17 18:11:50 (8 years 8 months ago)
Author:Werner Almesberger
Commit:59beaba426ad3a9e2c62fbc18b0945ccdbf09a74
Message:usrp/plscan: truncate title at the last dot, not the first

- usrp/plscan: change ${n%%.*} to ${n%.*}
- usrp/README: updated description
Files: usrp/README (1 diff)
usrp/plscan (1 diff)

Change Details

usrp/README
188188Usage: plscan [-o pngfile] file ...
189189
190190More than one graph can be plotted in the same run. The file name is used
191as the title for each graph. Titles are truncated at the first dot.
191as the title for each graph. Titles are truncated at the last dot.
192192
193193Example: ./plscan testant.out
usrp/plscan
2424set data style errorlines
2525plot \
2626  `for n in $@; do
27     echo -n $comma \'$n\' title \'${n%%.*}\'
27     echo -n $comma \'$n\' title \'${n%.*}\'
2828     comma=,
2929   done`
3030EOF

Archive Download the corresponding diff file



interactive