Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
appendix:reference:envvar:shell [2011/03/15 17:12]
els
appendix:reference:envvar:shell [2016/06/28 22:38] (current)
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 51: Line 51:
 =====  ===== =====  =====
  
-**[[appendix:​reference:​envvar:​home|Prev]]** | +**[[appendix:​reference:​envvar:​variables|Prev]]** | 
-**[[appendix:​reference:​envvar:​shell|Next]]**+**[[appendix:​reference:​envvar:​uses|Next]]**
  
 ====== Additional Resources ====== ====== Additional Resources ======
 
Back to top
appendix/reference/envvar/shell.1300209124.txt.gz · Last modified: 2016/06/28 22:38 (external edit)