Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Parallel processing
- X-seq: zsh-users 27636
- From: Perry Smith <pedz@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Parallel processing
- Date: Mon, 28 Mar 2022 08:26:15 -0500
- Arc-authentication-results: i=1; rspamd-7b6f4d8d7c-wtqqt; auth=pass smtp.auth=a2hosting smtp.mailfrom=pedz@xxxxxxxxxxxxxxxx
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1648473977; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=dkWWOqPv9sU36clO7kO+auKJvMl8qfNioPl//hqDmcI=; b=VnoJVCN9Fh+TFHVF3FD/p/O9Dpb6uxrUiqHrzDjZ2C+n2LMpYauOqF4yZ/TlcjjAEGVK0D iQJv5TP3+CNo4sS+ZY3p0hIKhI1xFbrYTDjHssuTxgsFVp06S+n0F5M/M/QZvn2kKgUeFY e0FVpBBGq2Q6kczqTbOusLznOD5YSRSv+LjEdriLDznBIvcgfQYFdv2opSaQen5p8VuWsH VKNba9o3StdVodLxPAzwFHIu7/jRSOHPmTFaC/e9cF8tA8MRQYSsN08NgeNAb9mfh6u304 RFojkLTjs27Z93yhoRitMmPFeirNo+STIl1+k5ITwneILC16E0ASyF0FmdDnfw==
- Arc-seal: i=1; s=arc-2022; d=mailchannels.net; t=1648473977; a=rsa-sha256; cv=none; b=YKHJL9i3nxMV/Ht8kxXDqj03jqo5NMYPOsDgGqhHV/fP1DIw3NBPeBDJrkeG8rbqWMLkRo qp5LSckOJNa3O5LyY4KMJoUS3SQABJ3OVa89rQesfQdnyqGd3sKRzLWSQjUIiIGHE5Wkui Fn01jTQ0JSh2KJCOuDxHG+z01CTYzm6vlRNHCN79hnZj7mTexPFBFFJ/EDz46o/+ORfiUz gJ41fLOsh9Lcrv70rNCHyhPRAJYhhQx5jPZL1oGPWka6+HxUDE4/XJftTd1BCbqPjuhR9V 7qazDds1E0J+G0TVjoMGNoknvk1v3wufBT4CuAipUURujBJONXyRgC2ubAJLGg==
- Archived-at: <https://zsh.org/users/27636>
- In-reply-to: <YkC5zgf9TJPmZ/6n@gmx.de>
- List-id: <zsh-users.zsh.org>
- References: <1E0E1226-E3E8-40AD-87CD-93A602B1B08B@easesoftware.com> <YkC5zgf9TJPmZ/6n@gmx.de>
> On Mar 27, 2022, at 14:23, Dominik Vogt <dominik.vogt@xxxxxx> wrote:
>
> On Thu, Mar 24, 2022 at 11:34:07PM -0500, Perry Smith wrote:
>> I need to do about 20 commands. Each will take several hours to perhaps days. I???d like to start some fixed number like 4 jobs that are running. The others are waiting for one of the others to get finished.
>>
>
>> I tried creating a Makefile and use the -j option in make but my
>> targets have spaces in them and make doesn???t like that. (This
>> is on a BSD system.)
>
> Are you talking about GNU Make? What is the problem?
>
> $ cat Makefile
> TARGETS = a\ b foo\ bar
> all: $(TARGETS)
> foo\ bar:
> touch "$@"
> a\ b:
> touch "$@"
> $ ls .
> Makefile
> $ make -j 2
> $ ls .
> a b foo bar Makefile
>
I’m inside a BSD “jail”. They have their own make (I believe). Let me try the syntax and see if I can get it to work. The next challenge will be to get this syntax to work from within a list so I can say:
${LIST_OF_TARGETS} :
Where an item in the list can have spaces.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author