[Modules] Testing initrc
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
From: Baudilio T. - N. A. <bau...@no...> - 2024-12-24 00:56:23
|
Hello. I need to add the following logic to the etc/initrc file. Before putting the codeI in production, I have created the file etc/nitric.TEST also located in etc/ switch -regexp -matchvar name -- $tcl_platform(osVersion) { {el8} { module use --append {/this/path8} } {el7} { module use --append {/this/path7} } } Is there a way a user could test it instead of parsing the current etc/initrc? Thank You! Baudilio Baudilio Tejerina, Ph. D. (Theoretical Physics and Chemistry) NOAA Geophysical Fluid Dynamics Laboratory Forrestal Campus, Princeton University 201 Forrestal Rd., 164 Princeton, NJ - 08540 _______________________________ GPG Key ID: 72668D3DD3D71B44 ☎: (609) 452 5839 |