Differences

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

Link to this comparison view

Both sides previous revision Previous revision
commands:builtin:exec [2011/06/20 19:50]
thebonsai [Portability considerations]
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   * 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.1308599421.txt
  • Last modified: 2011/06/20 19:50
  • by thebonsai