diff options
author | joe <joe@FreeBSD.org> | 2000-10-19 18:18:35 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2000-10-19 18:18:35 +0000 |
commit | 0efe0bb3cb5e6c90636fa22359ced4499f40ac55 (patch) | |
tree | 730b51f30a1a9d8bc2deb870d33ee0bf38f239be | |
parent | eb6db61651bac0ca92f2df7a1fc7db39c1e2ccab (diff) | |
download | FreeBSD-src-0efe0bb3cb5e6c90636fa22359ced4499f40ac55.zip FreeBSD-src-0efe0bb3cb5e6c90636fa22359ced4499f40ac55.tar.gz |
Scripts should contain a comment block describing what the script does.
-rw-r--r-- | share/man/man7/style.perl.7 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/share/man/man7/style.perl.7 b/share/man/man7/style.perl.7 index 5639bfc..51b71df 100644 --- a/share/man/man7/style.perl.7 +++ b/share/man/man7/style.perl.7 @@ -49,12 +49,25 @@ source tree. # Fill them so they look like real paragraphs. .Ed .Pp +All scripts should follow the copyright block at the start of the +script with a comment block that describes what the script does. +.Bd -literal -offset 0i + #!/usr/bin/perl -w + + # COPYRIGHT + # BLOCK + + # This script processes an old kernel config file, which it gets on + # stdin, and outputs a new style hints file to stdout. +.Ed All scripts should use the .Fa strict module and run without warnings. For example: .Bd -literal -offset 0i #!/usr/bin/perl -w + # Copyright, description of what the script does, etc + use strict; ... .Ed |