bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "builtin jobs" does not output to stdout.


From: Oğuz
Subject: Re: "builtin jobs" does not output to stdout.
Date: Mon, 13 Feb 2023 19:16:22 +0200

13 Şubat 2023 Pazartesi tarihinde Koichi Murase <myoga.murase@gmail.com>
yazdı:
>
> Nevertheless, even if we forget about trap, jobs, etc., ${ list; }
> alone is very useful as it's free from the fork cost


Shells fork all the time. If your application can't afford the overhead,
you've chosen the wrong language to write it in.


> and also can
> affect the parent shell context when it wants to.


This doesn't sound like an upside to me, I can't think of any use case
where it wouldn't make the code more confusing.


-- 
Oğuz


reply via email to

[Prev in Thread] Current Thread [Next in Thread]