On Tue, May 30, 2023 at 3:36 PM Ahmad Ismail <[email protected]> wrote:
>
> Here is my script.
:
> I want to ask whether the user wants to continue with the script or not. from 
> within the function. If this is not the pattern then does parallel has any 
> option which ask do you want to continue with jobN.
>
> For each job, or for selected jobs, I want to ask, "do you want to continue 
> with jobN (y/n)".
>
> How can I do that?

      --interactive
      -p  Ask user before running a job.

          Prompt the user about whether to run each command line and read a
          line from the terminal.  Only run the command line if the
          response starts with 'y' or 'Y'.  Implies -t.

/Ole

Reply via email to