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)
Tue, Apr 30, 1:24 AM
Unknown Object (File)
Feb 17 2024, 6:51 PM
Unknown Object (File)
Dec 29 2023, 8:35 AM
Unknown Object (File)
Dec 25 2023, 10:06 PM
Unknown Object (File)
Dec 23 2023, 10:56 AM
Unknown Object (File)
Nov 9 2023, 10:33 PM
Unknown Object (File)
Oct 9 2023, 3:15 AM
Unknown Object (File)
Oct 8 2023, 9:26 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 Not Applicable
Unit
Tests Not Applicable

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.