[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dash
Subject:    Re: Are there users of ash's "pathopts"? Do other shells have such a thing?
From:       Denys Vlasenko <dvlasenk () redhat ! com>
Date:       2023-04-03 11:54:26
Message-ID: 75dffdbc-d554-696e-0f6c-cb2d24dc80a6 () redhat ! com
[Download RAW message or body]

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 in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic