diff options
author | Tristan Riehs <tristan.riehs@bordeaux-inp.fr> | 2023-11-11 20:59:38 +0100 |
---|---|---|
committer | Tristan Riehs <tristan.riehs@bordeaux-inp.fr> | 2023-11-11 20:59:38 +0100 |
commit | 96fd02663c3175209382ab27fdaa7d157880798d (patch) | |
tree | 9e63618ca231623fbab1437e241533a68b429561 | |
parent | ed30f5e285adc4b15875f2b8147571cf3d88f823 (diff) |
manual page improved
-rw-r--r-- | rpt.1 | 14 | ||||
-rw-r--r-- | rpt.c | 2 |
2 files changed, 12 insertions, 4 deletions
@@ -36,6 +36,7 @@ rpt \- repeat a shell command .SH DESCRIPTION .B rpt allows you to easily repeat a command a certain number of times. +The command is repeated sequentially. .SH OPTIONS .BR \-h , @@ -77,6 +78,12 @@ flag is set, ignores errors. .SH "EXIT STATUS" +When a subprocess exit abnormally and the +.B force +flag is not given, +.B rpt +exits with the same status as the subprocess. + 1. Invalid option. 2. Error while reading @@ -92,15 +99,16 @@ is missing. .I COMMAND not provided. +4. Other error. + .SH FILES None. .SH "SEE ALSO" .BR seq (1) +.BR test (1) .SH BUGS -Please report bugs at -.IR https://gitlab.com/tristanriehs/repeat . .SH AUTHOR -Tristan Riehs <tristanriehs@gmail.com> +Tristan Riehs <tristan.riehs@bordeaux-inp.fr> @@ -10,7 +10,7 @@ #include <sys/wait.h> #include <unistd.h> -#define VERSION "1.0.0" +#define VERSION "1.1.1" /* Size of the buffer used to clone stdin. */ #define BUFSIZE 8000 |