From: Denys Vlasenko <dvlasenk@redhat.com>
To: Harald van Dijk <harald@gigawatt.nl>, dash@vger.kernel.org
Subject: Re: Are there users of ash's "pathopts"? Do other shells have such a thing?
Date: Mon, 3 Apr 2023 13:54:26 +0200 [thread overview]
Message-ID: <75dffdbc-d554-696e-0f6c-cb2d24dc80a6@redhat.com> (raw)
In-Reply-To: <3d9dd3d5-b8ae-3cf8-1e81-ef46cf9cf95a@gigawatt.nl>
On 4/3/23 13:35, Harald van Dijk wrote:
> On 03/04/2023 10:35, Denys Vlasenko wrote:
>> But it's not necessary, right? chkmail() does not actually uses
>> pathopts. It can just call padvance_magic(..., 0)
>> so as to ignore them.
>
> chkmail() does use pathopt. It is used to customise the message that gets printed:
>
> if (!changed && statb.st_mtime != *mtp) {
> outfmt(
> &errout, snlfmt,
> pathopt ? pathopt : "you have mail"
> );
> }
I missed this. Thank you.
prev parent reply other threads:[~2023-04-03 11:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-01 18:46 Are there users of ash's "pathopts"? Do other shells have such a thing? Denys Vlasenko
2023-04-01 19:13 ` Harald van Dijk
2023-04-01 20:49 ` Denys Vlasenko
2023-04-01 21:35 ` Lawrence Velázquez
2023-04-02 17:25 ` Sven Mascheck
2023-04-03 9:35 ` Denys Vlasenko
2023-04-03 11:35 ` Harald van Dijk
2023-04-03 11:54 ` Denys Vlasenko [this message]
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=75dffdbc-d554-696e-0f6c-cb2d24dc80a6@redhat.com \
--to=dvlasenk@redhat.com \
--cc=dash@vger.kernel.org \
--cc=harald@gigawatt.nl \
/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