1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/misc/retry/pkg-descr
Jon Stuart c046a16815 misc/retry: Add new port
A utility to retry a command until the command succeeds.

PR: 			273730
Approved by:		zirias (mentor)
Reviewed by:		diizzy
Differential Revision:	https://reviews.freebsd.org/D41862
2023-09-15 15:51:25 +02:00

9 lines
468 B
Plaintext

Retry captures stdin into memory as the data is passed to the repeated command,
and this captured stdin is then replayed should the command be repeated. This
makes it possible to embed the retry tool into shell pipelines.
Retry captures stdout into memory, and if the command was successful stdout is
passed on to stdout as normal, while if the command was repeated stdout is
passed to stderr instead. This ensures that output is passed to stdout once and
once only.