Re: Piping commands to a shell but keeping interactivity

Liste des GroupesRevenir à col misc 
Sujet : Re: Piping commands to a shell but keeping interactivity
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.misc
Date : 08. Mar 2024, 00:31:33
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <usdiok$1a50p$3@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Pan/0.155 (Kherson; fc5a80b8)
On Thu, 7 Mar 2024 16:24:26 +0000, James Harris wrote:

In answer to your other point about using xargs, I would use it if it
would do what's required, and do so consistently, but I am not sure
whether I can trust it or not.
You mean, accidentally operating on the wrong files?
That’s quite easy to test: instead of
    xargs «cmd...»
do
    xargs echo «cmd...»
and check the output to see that it shows what you expect. Once you are satisfied, you can run it again without the “echo”.

Date Sujet#  Auteur
7 Mar 24 * Re: Piping commands to a shell but keeping interactivity5James Harris
8 Mar 24 +- Re: Piping commands to a shell but keeping interactivity1Lawrence D'Oliveiro
8 Mar 24 `* Re: Piping commands to a shell but keeping interactivity3Rich
9 Mar 24  `* Re: Piping commands to a shell but keeping interactivity2James Harris
10 Mar 24   `- Re: Piping commands to a shell but keeping interactivity1Rich

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal