simon-git: xcopy (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Feb 5 19:31:31 GMT 2023


TL;DR:
  545a470 Implement a one-shot option, spelled '-1'.

Repository:     https://git.tartarus.org/simon/xcopy.git
On the web:     https://git.tartarus.org/?p=simon/xcopy.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2023-02-05 19:31:31

commit 545a470f09a50073dd906d9445e338a54209d057
web diff https://git.tartarus.org/?p=simon/xcopy.git;a=commitdiff;h=545a470f09a50073dd906d9445e338a54209d057;hp=df7089c2f3dafd2c8558b6eb94c09b6972609218
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Feb 5 19:29:48 2023 +0000

    Implement a one-shot option, spelled '-1'.
    
    This makes it possible to paste several things in rapid succession via
    a loop on 'xcopy -1 -F' feeding it different input each time.
    
    xcopy terminates after a single _actual paste_, rather than a single
    attempt. Failed attempts (e.g. asking for an unsupported target)
    aren't counted. Neither are the purely administrative requests for
    TIMESTAMP or TARGETS.

 xcopy.c | 11 +++++++++++
 1 file changed, 11 insertions(+)



More information about the tartarus-commits mailing list