Page MenuHomeFreeBSD

Describe how to prevent *.core files from being created in sh(1) + pet mandoc
ClosedPublic

Authored by 0mp on May 29 2018, 8:54 PM.
Referenced Files
Unknown Object (File)
Sun, Jan 5, 10:35 AM
Unknown Object (File)
Dec 6 2024, 4:44 AM
Unknown Object (File)
Dec 5 2024, 5:45 PM
Unknown Object (File)
Dec 3 2024, 5:30 PM
Unknown Object (File)
Nov 24 2024, 1:38 AM
Unknown Object (File)
Oct 12 2024, 6:36 PM
Unknown Object (File)
Oct 3 2024, 10:06 AM
Unknown Object (File)
Sep 8 2024, 4:39 PM

Details

Summary

This patch add a note to the description of the -c of ulimit that calling ulimit -c 0 prevents core dump files from being created.

Also, while here: pet mandoc:

  • Get rid of Tn macros
  • Improve formatting of the *Grouping Commands Together* section.
  • Add \& in some places to calm mandoc down.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

jilles added inline comments.
sh/sh.1
1746–1753 ↗(On Diff #43111)

Hmm, why do the binary operators and conditional operators need \& while the other two do not?

sh/sh.1
1746–1753 ↗(On Diff #43111)

This is a good question. I guess that mdoc doesn't like lines ending with ||".

For example for .Li " ||" it says:

STYLE: no blank before trailing delimiter: Li ||

eadler added inline comments.
sh/sh.1
344 ↗(On Diff #43111)

Change "Another" to "A". No reason to reference the previous one.

This revision is now accepted and ready to land.Jun 18 2018, 2:26 AM

s/Another/A/ as requested by @eadler

This revision now requires review to proceed.Jun 19 2018, 6:45 PM
This revision is now accepted and ready to land.Jun 19 2018, 9:37 PM

Could you use devel/arcanist, or at least generate a diff with full context like it does, with svn diff -x -U9999 or git diff -U9999.

Reupload the patch, this time using arcanist as requested by @mat.

This revision now requires review to proceed.Jul 19 2018, 8:02 AM
This revision is now accepted and ready to land.Jul 19 2018, 8:24 AM
This revision was automatically updated to reflect the committed changes.