From: umbraticus@prosimetrum.com
To: 9front@9front.org
Subject: Re: [9front] Re: system mkfile changes
Date: Tue, 30 Mar 2021 08:44:04 +1300 [thread overview]
Message-ID: <BF926A4983496CC4363A0CDDBF76E71B@prosimetrum.com> (raw)
In-Reply-To: <2E199923D171437BFE5C102DC6FB649D@felloff.net>
> -TARG=`{ls *.[cy] | sed '/\.tab\.c$/d;s/..$//'}
> +YTARG=`{echo *.y | sed 's/\.y//g'}
> +TARG=$YTARG `{echo *.c | sed 's/\.c//g'}
ls | sed -n 's/\.[cy]$//p'
or, to stay true to the original...
ls | sed -n '/\.tab\.c$/d;s/\.[cy]$//p'
Could use walk instead of ls.
I'm definitely not qualified to comment on the rest…
umbraticus
next prev parent reply other threads:[~2021-03-29 19:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-20 17:18 [9front] " Amavect
2021-03-24 18:44 ` [9front] " Amavect
2021-03-27 15:00 ` cinap_lenrek
2021-03-29 19:44 ` umbraticus [this message]
2021-04-02 18:01 ` Amavect
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=BF926A4983496CC4363A0CDDBF76E71B@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).