The 'd' software allows users to run a command in the background while simultaneously redirecting its output to a designated file. This feature enhances efficiency and ease of access to data.
The d command is quite simple but has been streamlined over many years of development. To use it, users just need to enter the command along with specified letters and arguments. The letters indicate what type of task the user wants to perform, such as 'c' for a command, 'm' for make, 's' for the same command again, and 'h' for history.
Optionally, the user can add letters such as 'n' for nice, 'a' for append, or 'p' for printing the command without running it. The d command comes with helper shell functions like 'q', 'qq', 'qt', 'cq', 'cqq', 'wq', and 'wqt' to make it easier to examine the output.
The output from d into the file out consists of a prologue, the output from the command, and an epilogue. An example usage of the d command is shown, which involves running a command in the background with output to the out file, running the same command again with nice and appending to the existing out file, showing the out file, printing the command that would be executed without running it, and showing the history of commands and results contained in the out file.
This release fixes the script so that it works not only with zsh but also with bash, ksh, and sh. Overall, the d command is a useful tool for running and managing commands and their output in the background.
Version 5.4: N/A