paexec_reorder(1)

🌸 NAME 🌸

paexec_reorder β€” reorder sliced output of paexec -l ✨

✨ SYNOPSIS ✨

paexec_reorder [OPTIONS] [files...]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay bestie so here's the vibe: paexec with the -l option makes a sliced output where results from different tasks are all intermixed. The whole point of paexec_reorder is to produce ordered output where results for all tasks follow each other without intermixing. It is strongly recommended to send output of paexec -le or paexec -gle to the input of paexec_reorder. Otherwise, more memory or disk space for temporary files will be required. no cap, that's the tea β˜•

πŸ’… OPTIONS πŸ’…

  • -h β€” display help information 🫢
  • -M method β€” choose the reorder method. If method is m, result is reordered in memory, and this is the default. If it is f, temporary files are used for reordering. If it is s, the sort(1) command is used. method queen behavior ✨
  • -l β€” prepends output lines with the task number πŸ”’
  • -g β€” by default, output of paexec -le is expected on input. With -g, output of paexec -gle is expected. In this case, paexec_reorder will react on the "fatal" paexec's keyword. fatal keyword watcher πŸ’€
  • -x β€” if applied, output of paexec -le [-g] -x is expected on input. This option has higher priority than the PAEXEC_EOT environment variable. Actually, -x and -y are synonyms. πŸ’…
  • -y β€” if applied, output of paexec -le [-g] -y is expected on input. This option has higher priority than the PAEXEC_EOT environment variable. 🫢
  • -S β€” remove the leading space character. leading space? gone. iconic. ✨
  • -m β€” set an alternative string for 'success', 'failure', 'fatal' and '' (end of task). The exact forms are:
    • -m s=success
    • -m f=failure
    • -m F=fatal
    • -m t=eot

πŸŽ€ EXAMPLES πŸŽ€

Cute little pipelines, bestie:

        paexec -t '/usr/bin/ssh -x' -n 'host1 host2 host3' \
               -l -c ~/bin/complex_task | paexec_reorder

        paexec -gEI -lr -n 'host1 host2 host3' \
          -c command -t /usr/bin/rsh < tasks.txt | paexec_reorder -lgS -Mf

For other examples, see examples/ directory.

πŸ“ ENVIRONMENT πŸ“

  • TMPDIR β€” tempnam(3) is used for creating temporary directory. See the appropriate man page. πŸ“
  • PAEXEC_EOT β€” the same as in paexec. πŸ’œ

πŸ’€ BUGS/FEEDBACK πŸ’€

Please send any comments, questions, bug reports etc. to me by e-mail or (even better) register them at sourceforge project home. Feature requests are also welcomed. we love feedback 🫢

πŸ‘‘ HOME πŸ‘‘

http://sourceforge.net/projects/paexec πŸ‘‘

🌈 SEE ALSO 🌈

paexec(1) tempnam(3) β€” go read those too, iykyk πŸ’…


Cute little footer sign-off: this is the paexec_reorder(1) page, dated 2024-06-07 πŸŽ€βœ¨

πŸ“¦ where this page comes from