Eskil

Diff
Login

Differences From Artifact [10b757a3bf]:

To Artifact [cf374614a0]:


125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
    if {$src eq ""} {
        printPlugins
        return
    }
    set ch [open $src]
    set lines [split [read $ch] \n]
    foreach line $lines {
        set line [string trim $line]
        if {$short} {
            if {![string match "#*" $line]} {
                break
            }
        }
        puts $line
    }
    close $ch
}







|

|







125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
    if {$src eq ""} {
        printPlugins
        return
    }
    set ch [open $src]
    set lines [split [read $ch] \n]
    foreach line $lines {
        set lineT [string trim $line]
        if {$short} {
            if {![string match "#*" $lineT]} {
                break
            }
        }
        puts $line
    }
    close $ch
}