SliTaz SliTaz Forum

You are not logged in.

#1 2015-12-23 21:16:51

llev
Member
Registered: 2011-12-09
Posts: 568

New man

Hi,

I've pushed my new version of man. I'm posting this as "not resolved" because I need support: your tests! And comments, advice, etc.

Some specific points:

- There's an extensive comment on the regexp converting HTML to text. I see two approaches: strip it before install, like Aleksej does in tazpkg; or move the comment into a README. What do you think?

- There's a line declaring several variables as local. I've let it for now, but I don't see its point (bash gives an error when local is used out of a function; ash doesn't complain but the command seems to have no effect). You're welcome to enlighten me!

Offline

#2 2015-12-24 09:46:35

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: New man

Hi Lucas,

I like Aleksej's strip. Comments are at the right place, in the same file.

Local is useless? remove it. Keep is simple.

Offline

#3 2015-12-31 21:42:51

llev
Member
Registered: 2011-12-09
Posts: 568

Re: New man

@ Aleksej,

Can you tell me what I did wrong, which caused the "w" gettext string to be commented out in po files?

Offline

#4 2015-12-31 23:40:50

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: New man

Hello Lucas,

Nothing wrong you did. This is my shortcoming. I already fixed it: I forgot to add keyword "_" to xgettext invocation. That time I just edited ".po" files manually, not via "make pot; make msgmerge". Now I did it "official way".

Offline

#5 2016-01-01 09:58:18

llev
Member
Registered: 2011-12-09
Posts: 568

Re: New man

Thank you.

Best wishes for this new year!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]