Changeset 60 for trunk/bundle


Ignore:
Timestamp:
Jan 3, 2012, 5:30:30 PM (12 years ago)
Author:
g7moreau
Message:
  • Add example in doc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bundle/bundle.bash

    r59 r60  
    196196
    197197
     198=head1 EXAMPLE
     199
     200Which is better : load or source ?
     201
     202=head2 Sub-Shell
     203
     204Load and Unload command must be enclose.
     205In a shell script,
     206it's very important to unload every bundle loaded!
     207
     208 bundle load intel/2011.7
     209   ifort -v
     210 bundle unload
     211
     212Load command in better in interactive shell.
     213If use in a script file,
     214you can indent your code.
     215
     216=head2 Source
     217
     218Source command just source shell script in current environment.
     219No unload is possible.
     220
     221 bundle source intel/2011.7
     222
     223Source command is better in batch script
     224because you have don't have to unload in current case.
     225
     226
    198227=head1 SEE ALSO
    199228
Note: See TracChangeset for help on using the changeset viewer.