Date:2010-11-17 17:45:19 (8 years 8 months ago)
Author:Werner Almesberger
Commit:45d5946435cb10c9605b146c819c3b743ab4c896
Message:usrp/plscan: instead of `echo ... sed ...`, just use ${n%%.*}

Files: usrp/plscan (1 diff)

Change Details

usrp/plscan
2424set data style errorlines
2525plot \
2626  `for n in $@; do
27     echo -n $comma \'$n\' title \'\`echo "$n" | sed "s/\..*//"\`\'
27     echo -n $comma \'$n\' title \'${n%%.*}\'
2828     comma=,
2929   done`
3030EOF

Archive Download the corresponding diff file



interactive