The translation is temporarily closed for contributions due to maintenance, please come back later.
Context English Portuguese (Brazil) State
Testing Traduzindo
Testing a new manual page can be challenging. Fortunately there are some tools that can assist in the task. Some of them, like <citerefentry><refentrytitle>man</refentrytitle><manvolnum>1</manvolnum></citerefentry>, do not look in the current directory. It is a good idea to prefix the filename with <literal>./</literal> if the new manual page is in the current directory. An absolute path can also be used. O teste de uma nova página de manual pode ser um desafio quando o arquivo não está localizado no caminho de pesquisa normal da páginas de manual. <citerefentry><refentrytitle>man</refentrytitle><manvolnum>1</manvolnum></citerefentry> também não procura no diretório atual. Se a nova página de manual estiver no diretório atual, prefixe o nome do arquivo com um <literal>./</literal>:
Use <citerefentry><refentrytitle>mandoc</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s linter to check for parsing errors: <citerefentry><refentrytitle>mandoc</refentrytitle><manvolnum>1</manvolnum></citerefentry>
<prompt>%</prompt> <userinput>mandoc -T lint ./mynewmanpage.8</userinput> <prompt>%</prompt> <userinput>man ./mynewmanpage.8</userinput>
<prompt>%</prompt> <userinput>igor ./mynewmanpage.8</userinput> <prompt>%</prompt> <userinput>man ./mynewmanpage.8</userinput>
Use <citerefentry><refentrytitle>man</refentrytitle><manvolnum>1</manvolnum></citerefentry> to check the final result of your changes: Utilize <citerefentry><refentrytitle>su</refentrytitle><manvolnum>1</manvolnum></citerefentry> para assumir outro nome de
usuário.
You can use <citerefentry><refentrytitle>col</refentrytitle><manvolnum>1</manvolnum></citerefentry> to filter the output of <citerefentry><refentrytitle>man</refentrytitle><manvolnum>1</manvolnum></citerefentry> and get rid of the backspace characters before loading the result in your favorite editor for spell checking: Use<citerefentry><refentrytitle>tar</refentrytitle><manvolnum>1</manvolnum></citerefentry> e <citerefentry><refentrytitle>gzip</refentrytitle><manvolnum>1</manvolnum></citerefentry> para compactar sua documentação e enviá-lo para o projeto.
<prompt>%</prompt> <userinput>man ./mynewmanpage.8 | col -b | vim -R -</userinput> <prompt>%</prompt> <userinput>man ./mynewmanpage.8</userinput>
<prompt>%</prompt> <userinput>aspell check --lang=en --mode=nroff ./mynewmanpage.8</userinput> <prompt>%</prompt> <userinput>man ./mynewmanpage.8</userinput>