What are the different types of sed exit codes?
-
0 - Successful completion.
1 - Invalid command, invalid syntax, invalid regular expression or a GNU sed extension command used with --posix.
2 -One or more of the input file specified on the command line could not be opened (e.g. if a file is not found, or read permission is denied). Processing continued with other files.
4 - An I/O error, or a serious processing error during runtime, GNU sed aborted immediately.
© Lightnetics 2024