mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-06 06:21:16 +08:00
skip all lines that start with '#'. Now I can have self-plotting data files using #!
This commit is contained in:
parent
e16af8103a
commit
8d38a2c053
@ -249,6 +249,8 @@ sub mainThread {
|
||||
|
||||
while( $_ = ($dataQueue && $dataQueue->dequeue()) // <> )
|
||||
{
|
||||
next if /^#/o;
|
||||
|
||||
if($_ ne "Plot now")
|
||||
{
|
||||
$haveNewData = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user