Convention in the output of service rcvar

2020-12-16 Thread Rocky Hotas
Hello! Consider a service whose start-up is controlled by a variable in /etc/rc.conf: food=YES Then, the output of `service food rcvar' is: # food $food=YES I wonder why this choice has been made, instead of # food food=YES This second version would also reproduce the shell syntax. I do not k

Re: Convention in the output of service rcvar

2020-12-16 Thread Rocky Hotas
On dic 16 19:43, Rocky Hotas wrote: > > In FreeBSD, for example, the trailing `$' is absent. [...] > The trailing character `$' appears since the first revision where such a Sorry, I used the word "trailing", but I was meaning the opposite: the `$' at the beginning of the variable. Rocky

Re: Convention in the output of service rcvar

2020-12-17 Thread Rocky Hotas
On dic 17 21:12, David Holland wrote: > My guess: someone was thinking in perl by accident and nobody's > noticed it since, so it hasn't been fixed. It's probable, then. Thanks for your feedback, David and Jeremy. I would suggest, if possible and if you agree, to remove that extra `$' (hoping th

Re: Convention in the output of service rcvar

2020-12-21 Thread Rocky Hotas
On dic 20 21:32, Valery Ushakov wrote: > I have committed the change (revision 1.106). We still refer to rc > variables with the dollar prefix in errors/warnings, but there the > context actually warrants it, kinda, so I decided to leave those > alone. It is reasonable and I definitely agree. T

Re: sched_protect(2)

2016-08-01 Thread Rocky Hotas
Hi Christos, > Sent: Sunday, July 31, 2016 at 3:05 PM > From: "Christos Zoulas" > To: "Charles Cui" > Cc: tech-userlevel@netbsd.org > Subject: sched_protect(2) [...] > > On a different subject, I noticed that we don't have a man page for > sched_protect(2), can you please take a stab at writing

Re: sched_protect(2)

2016-08-03 Thread Rocky Hotas
hanks anyway!!! Rocky     Sent: Monday, August 01, 2016 at 7:38 PM From: "Charles Cui" To: "Christos Zoulas" Cc: "Rocky Hotas" , "tech-userlevelnetbsd.org" Subject: Re: sched_protect(2) Hi Rocky,     As Christos mentioned, you can help to improve the ma

Re: sched_protect(2)

2016-08-03 Thread Rocky Hotas
Hi Christos, hi Charles, maybe I have some little good updates. Feel free to use them only if they can be useful. > Sent: Wednesday, August 03, 2016 at 5:47 PM > From: "Christos Zoulas" > To: "Rocky Hotas" , "Charles Cui" > > Cc: "tech-us

Re: sched_protect(2)

2016-08-05 Thread Rocky Hotas
Hi Christos, hi Charles and all, > Sent: Thursday, August 04, 2016 at 9:12 AM > From: "Christos Zoulas" > To: "Rocky Hotas" > Cc: "Charles Cui" , "tech-userlevelnetbsd.org" > > Subject: Re: sched_protect(2) [...] > > | I i