Statistics
| Revision:

root / tmp / org.txm.groovy.core / src / groovy / org / txm / macro / debug / OperatingSystemVersionMacro.groovy @ 479

History | View | Annotate | Download (294 Bytes)

1
// Copyright © 2016 ENS de Lyon, CNRS, University of Franche-Comté
2
// Licensed under the terms of the GNU General Public License (http://www.gnu.org/licenses)
3
// @author sheiden
4

    
5
System.properties.each { key, value ->
6
        if (key ==~ /^os\..*/) {
7
                println sprintf("%10s = %s", key, value)
8
        }
9
}