Changeset 109


Ignore:
Timestamp:
Jan 8, 2015, 2:47:16 PM (9 years ago)
Author:
g7moreau
Message:
  • Commit some very old doc !
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bundle/bundle.bash

    r61 r109  
    202202
    203203Load and Unload command must be enclose.
    204 In a shell script,
     204In an interactive shell,
    205205it's very important to unload every bundle loaded!
    206206
     
    210210
    211211Load command in better in interactive shell.
     212
    212213If use in a script file,
    213 you can indent your code.
     214you just have to remenber that load start a new shell,
     215and unload just exit it (but not work in script file)
     216
     217 bundle load intel/2011.7 <<'END_BUNDLE'
     218   ifort -v
     219 END_BUNDLE
     220
     221It's better to use quote around END_BUNDLE,
     222current shell will not evaluate next command before passing them to sub-shell !
     223
     224Maybe it's then simpler to use source command and integrated sub-shell
     225
     226 ( bundle source intel/2011.7
     227   ifort -v
     228 )
    214229
    215230=head2 Source
Note: See TracChangeset for help on using the changeset viewer.