On Thu, Nov 9, 2023, 7:21 PM alex xmb sw ratchev <fxmb...@gmail.com> wrote:
> > > On Thu, Nov 9, 2023, 7:17 PM Steffen Nurpmeso <stef...@sdaoden.eu> wrote: > >> Steffen Nurpmeso wrote in >> <20231109181107.bj0wl%stef...@sdaoden.eu>: >> |Steffen Nurpmeso wrote in >> | <20231109011212.tc9hj%stef...@sdaoden.eu>: >> | ... >> |Something like this that would be, adding JLIST_SPEC_ONLY and >> |jobs(1) -j. Just in case of interest. >> >> I mean some scripting on "jobs | wc -l" would do that, though. :( >> Maybe i should just write a function that builds the string >> necessary to do what i wanted with %* or "%1-2 %4" etc. >> Eh. Forget about it. >> >> Ciao! >> > > jobs wc is > > j=( $( jobs -p ) ) > jc=${#j[*]} or ${ .. > > i think its with ' kinds ' cooperative > > greets > > -n lists only processes that have changed status since the > last > notification > -p lists process IDs only > -r restrict output to running jobs > -s restrict output to stopped jobs > > --steffen >> | >> |Der Kragenbaer, The moon bear, >> |der holt sich munter he cheerfully and one by one >> |einen nach dem anderen runter wa.ks himself off >> |(By Robert Gernhardt) >> >> >>