From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MIME_QP_LONG_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 16299 invoked from network); 25 Nov 2022 21:38:55 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 25 Nov 2022 21:38:55 -0000 Received: from out-122.mta0.migadu.com ([91.218.175.122]) by 9front; Fri Nov 25 16:36:50 -0500 2022 Message-ID: <4BDA75F7E73DFD81058C168D505DBC6F@pixelhero.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pixelhero.dev; s=key1; t=1669412188; 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; bh=muUsdUbXZ+YcIGJv8E3bpTynsVzO+6JtbXiA9YQlyp0=; b=g+/FmwaznryPz/FBiEWZWyNpcXZQxYGy8nNlqE0duk3pKfEt4J0Lum4P2Cpf2PFhweUFZw HwRVIfdWrPmLHCqkrdWjLQ5BTUeUvzl5Bm4F0nbJ6aNqctpEqBdiNkedbhUir+lSSe9oN1 UmPRBNXaYzQSfAroEY8a3zV3Vunjm1pslkmwhwonsCtjBvrQ5Ax95/lmx3jKW4EXfr8wSl 7A/Vqd2PCMu2tJrc95OfVmoIJKGH1J327+zd6b3hR1akGiO1l+3g//3b/GWnWWJ4geSKlM zHewsJ3ziYnfh1p7ERRV3rprQYxAJZ51xg7JdBbeV+aJiSglHiqrNUYrpGKBTA== To: 9front@9front.org Date: Fri, 25 Nov 2022 16:37:02 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: noam@pixelhero.dev In-Reply-To: <5B92F9C29AF4BD28334E6EF01A686EED@thinktankworkspaces.com> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 X-Migadu-Footer: yes List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: SVG singleton module singleton-oriented STM-oriented controller Subject: Re: [9front] graphics tools Reply-To: 9front@9front.org Precedence: bulk Quoth william@thinktankworkspaces.com: > I would like to have it open in acme and click put or sam and :w or and see it change quickly. % cat /mnt/acme/log | awk '{ if($2 == "put") system("command goes here") } You can run that in acme to run arbitrary commands whenever a file is saved. File name is available as $3 in that awk script, so it can also be limited to specific files. I have hooks to automatically run `go fmt` when a Go file is saved, for instance. - Noam Preil