BSD Ports

misc/retry 1.0.5_1 DragonFly

Retry a command until the command succeeds

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
misc
Package size
11.3 KiB, 27.0 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlymisc/retry1.0.5_1
FreeBSDmisc/retry1.0.5_1
HardenedBSDmisc/retry1.0.5_1
GhostBSDmisc/retry1.0.5_1

Install

Binary package:

pkg install retry

From DPorts:

cd /usr/dports/misc/retry && make install clean

Dependencies

No port depends on this one.