Differences

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

Link to this comparison view

Next revision
Previous revision
commands:builtin:exec [2010/12/12 15:30]
127.0.0.1 external edit
commands:builtin:exec [2011/06/20 19:51] (current)
thebonsai [Portability considerations]
Line 63: Line 63:
 ===== Portability considerations ===== ===== Portability considerations =====
  
-POSIX(r) specifies error code ranges: +  *POSIX(r) specifies error code ranges: 
-  * if ''​exec''​ can't find the program to execute, the error code shall be 126 +    * if ''​exec''​ can't find the program to execute, the error code shall be 126 
-  * on a redirection error, the error code shall be between 1 and 125 +    * on a redirection error, the error code shall be between 1 and 125 
- +  * the ''​-a NAME''​ option appeared in Bash 4.2-alpha 
-POSIX(r) does **not** specify any options for ''​exec''​ (like ''​-c'',​ ''​-l'',​ ''​-a NAME''​).+  ​* ​POSIX(r) does **not** specify any options for ''​exec''​ (like ''​-c'',​ ''​-l'',​ ''​-a NAME''​).
  
 ===== See also ===== ===== See also =====
   * [[syntax:​redirection]]   * [[syntax:​redirection]]
  
  • commands/builtin/exec.1292167821.txt
  • Last modified: 2011/06/20 19:50
  • (external edit)