This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
appendix:reference:envvar:shell [2011/03/15 17:13] els |
appendix:reference:envvar:shell [2011/03/15 18:53] els |
||
---|---|---|---|
Line 9: | Line 9: | ||
[[appendix:reference:envvar:variables|Environment Variables]] | | [[appendix:reference:envvar:variables|Environment Variables]] | | ||
**[[appendix:reference:envvar:shell|Shell Commands]]** | | **[[appendix:reference:envvar:shell|Shell Commands]]** | | ||
- | [[appendix:reference:envvar:locations|Locations]] | | + | [[appendix:reference:envvar:uses|Uses]] | |
[[appendix:reference:envvar:reserved|Reserved Variables]] | [[appendix:reference:envvar:reserved|Reserved Variables]] | ||
Line 17: | Line 17: | ||
==== Shell Commands ==== | ==== Shell Commands ==== | ||
- | Omnidex allows shell commands to be used in place of environment variables as well. This allows for the use of regular expressions, shell or perl scripts or other commands to be used when constructing a value. This can be especially helpful for externalizing the metadata. | + | Omnidex allows shell commands to be used in place of environment variables as well. This allows for the use of shell scripts, regular expressions or other commands to be used when constructing a value. This can be especially helpful for externalizing the metadata. |
=== Syntax === | === Syntax === | ||
Line 26: | Line 26: | ||
UNIX | UNIX | ||
- | {(myshell.ksh)} | + | {$(myshell.ksh)} |
Windows | Windows | ||
- | {(myshell.bat)} | + | {$(myshell.bat)} |
Line 37: | Line 37: | ||
UNIX | UNIX | ||
- | {(echo `hostname`_`date '+%Y%m%d'`.log)} | + | {$(echo `hostname`_`date '+%Y%m%d'`.log)} |
Line 52: | Line 52: | ||
**[[appendix:reference:envvar:variables|Prev]]** | | **[[appendix:reference:envvar:variables|Prev]]** | | ||
- | **[[appendix:reference:envvar:locations|Next]]** | + | **[[appendix:reference:envvar:uses|Next]]** |
====== Additional Resources ====== | ====== Additional Resources ====== |