Re: Dash man page not correct?

2022-09-25 Thread Perry Smith


> On Sep 25, 2022, at 10:10, The Wanderer  wrote:
> 
> On 2022-09-25 at 11:00, Perry Smith wrote:
> 
>> I have Debian bullseye installed in a container.  My reading of the man 
>> page[1]
>> is to use the -i flag to get dash to read $HOME/.profile.  But that doesn’t 
>> seem
>> to work for me.  Instead, -l needs to be used.   At least, that seems to be 
>> true for
>> me using Docker.  Does this seem to be correct?  If so, I will open a bug 
>> report
>> but thought I would check here since Docker might be the root cause somehow.
> 
> I replied to your message on the same day it was sent. If you have not
> seen it, I suspect you may well not be subscribed to the mailing list.
> 
> If you want to be CCed on replies to messages you send to the mailing
> list, please state that in the message itself.
> 
> Alternately, please consider subscribing, so that you will receive
> replies regardless.
> 
> In the meantime, you can read replies already sent via the list
> archives, which are available at:
> 
> https://lists.debian.org/debian-user/
> 
> My specific reply can be seen at:
> 
> https://lists.debian.org/debian-user/2022/09/msg00611.html

Thank you.  I was not subscribed.  I went to 
https://lists.debian.org/debian-user/ <https://lists.debian.org/debian-user/>
and searched but didn’t notice that it was only page 1 of 2.

I misunderstood / misread this phrase:

… the shell is also considered a login shell …

In particular the ‘also’.  The only suggestion I can give is something like:

When first starting, the shell inspects argument 0, and if it begins with a 
dash ‘-’,
the shell is considered a login shell which is also interactive.

The first time “login” is mentioned is after the “also” implying that inclusion 
in
something else.

A separate paragraph might make it clearer as well since the topic has shifted
from an interactive shell to a login shell.

Perry



signature.asc
Description: Message signed with OpenPGP


Dash man page not correct?

2022-09-25 Thread Perry Smith
I have Debian bullseye installed in a container.  My reading of the man page[1]
is to use the -i flag to get dash to read $HOME/.profile.  But that doesn’t seem
to work for me.  Instead, -l needs to be used.   At least, that seems to be 
true for
me using Docker.  Does this seem to be correct?  If so, I will open a bug report
but thought I would check here since Docker might be the root cause somehow.

Thank you,
Perry
[1] https://manpages.debian.org/bullseye/dash/dash.1.en.html 



signature.asc
Description: Message signed with OpenPGP


Dash man page not correct?

2022-09-23 Thread Perry Smith
I have Debian bullseye installed in a container.  My reading of the man page[1]
is to use the -i flag to get dash to read $HOME/.profile.  But that doesn’t seem
to work for me.  Instead, -l needs to be used.   At least, that seems to be 
true for
me using Docker.  Does this seem to be correct?  If so, I will open a bug report
but thought I would check here since Docker might be the root cause somehow.

Thank you,
Perry
[1] https://manpages.debian.org/bullseye/dash/dash.1.en.html