| 1 |
#%Module -*- tcl -*- |
| 2 |
|
| 3 |
set name random-lines |
| 4 |
set version 1.0 |
| 5 |
set prefix [file normalize [file join [file dirname ${ModulesCurrentModulefile}] ../../${name}/${version}]] |
| 6 |
|
| 7 |
module-whatis "Selects N random lines from a file and outputs to another file, maintaining original line order" |
| 8 |
|
| 9 |
if {![file exists $prefix]} { |
| 10 |
puts stderr "\t[module-info name] Load Error: $prefix does not exist" |
| 11 |
break |
| 12 |
exit 1 |
| 13 |
} |
| 14 |
|
| 15 |
prepend-path PATH ${prefix}/scripts |
| 16 |
setenv TEST_VAR_MODULE "environment variable ends in space " |