From: umbraticus@prosimetrum.com
To: 9front@9front.org
Subject: Re: [9front] graphics tools
Date: Sat, 26 Nov 2022 14:15:05 +1300 [thread overview]
Message-ID: <14C67969C50EF9BAB9586A473769C357@prosimetrum.com> (raw)
In-Reply-To: <4BDA75F7E73DFD81058C168D505DBC6F@pixelhero.dev>
> % cat /mnt/acme/log | awk '{ if($2 == "put") system("command goes here") }
Nice. (Although, what did that cat ever do to you?)
I would probable do it in rc:
</mnt/acme/log while(line = `{read}) if(~ $line(2) put) { … }
I probably mentioned already but the sam version is:
!fn w{echo w; command}
Then ^w writes and runs command.
umbraticus
next prev parent reply other threads:[~2022-11-26 1:17 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-23 0:58 william
2022-09-23 1:06 ` ori
2022-09-23 1:15 ` william
2022-09-23 1:15 ` william
2022-09-23 2:04 ` ori
2022-09-23 2:12 ` william
2022-09-23 2:24 ` Stanley Lieber
2022-09-23 2:38 ` william
2022-09-23 2:44 ` Stanley Lieber
2022-09-23 4:21 ` umbraticus
2022-09-23 6:55 ` Steve Simon
2022-09-23 7:15 ` kvik
2022-09-23 21:16 ` william
2022-09-23 21:16 ` william
2022-09-23 21:53 ` Stanley Lieber
2022-09-23 22:02 ` william
2022-09-23 22:35 ` Stanley Lieber
2022-09-25 1:57 ` sl
2022-09-25 2:37 ` william
2022-11-25 21:37 ` noam
2022-11-26 1:15 ` umbraticus [this message]
2022-11-27 20:46 ` umbraticus
2022-09-23 20:45 ` Stuart Morrow
2022-09-23 10:54 ` tlaronde
2022-09-23 18:17 ` Csepp
2022-09-23 22:33 ` umbraticus
2022-09-24 18:29 ` Csepp
2022-09-27 9:56 ` umbraticus
2022-09-27 15:43 ` Kurt H Maier
2022-09-27 15:59 ` Sigrid Solveig Haflínudóttir
2022-09-28 9:39 ` tlaronde
2022-09-30 6:39 ` william
2022-09-30 6:39 ` william
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14C67969C50EF9BAB9586A473769C357@prosimetrum.com \
--to=umbraticus@prosimetrum.com \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).