fix spelling errors

This commit is contained in:
zimoch committed 2026-01-06 09:51:04 +01:00
1 parent 58debe99ed
commit 595bb8fb62
157 files changed
+271 -271

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ GetUser(); # Ensure we know who's in charge
#
# Declare two default callback routines for file copy plus two
# hook routines to add conversions
# These may be overriden within $top/$apptypename/Replace.pl
# These may be overridden within $top/$apptypename/Replace.pl
# First: the hooks
sub ReplaceFilenameHook { return $_[0]; }
+3 -3
View File
@@ -25,7 +25,7 @@ $extname = "@ARGV";
#
# Declare two default callback routines for file copy plus two
# hook routines to add conversions
# These may be overriden within $top/$exttypename/Replace.pl
# These may be overridden within $top/$exttypename/Replace.pl
# First: the hooks
sub ReplaceFilenameHook { return $_[0]; }
@@ -93,7 +93,7 @@ foreach $ext ( @ARGV ) {
($extname = $ext) =~ s/Ext$//;
$extdir = $extname;
if (-d "src/$extdir") {
print "Extention $extname is already there!\n";
print "Extension $extname is already there!\n";
next;
}
print "Creating template structure "
@@ -161,7 +161,7 @@ sub get_commandline_opts { #no args
exit 0; # finished for -l command
}
# Extention template type
# Extension template type
if ($opt_t) { # first choice is -t type
$exttype = $opt_t;
} elsif ($eEXTTYPE) { # second choice is $ENV{EPICS_DEFAULT_EXT_TYPE}
+1 -1
View File
@@ -4,7 +4,7 @@
# RELEASE Locations of external modules
#
# NOTE: The build does not check dependancies on files
# NOTE: The build does not check dependencies on files
# external to this application. Thus you should run
# "gnumake clean uninstall install" in the top directory
# each time EPICS_BASE or any other external module that
+1 -1
View File
@@ -59,7 +59,7 @@ that an unknown option was given. The getopts() function returns true unless an
invalid option was found.
Note that, if your code is running under the recommended C<use strict 'vars'>
pragma, you will need to declare the necesary package variables with "our"
pragma, you will need to declare the necessary package variables with "our"
before the call to getopts:
our($opt_v, $opt_o, @opt_I);
+1 -1
View File
@@ -10,7 +10,7 @@
my $MVAR = qr/[A-Za-z_] [A-Za-z_0-9-]*/x;
#
# Parse all relevent configure/RELEASE* files and includes
# Parse all relevant configure/RELEASE* files and includes
#
sub readReleaseFiles {
my ($relfile, $Rmacros, $Rapps, $arch) = @_;
+4 -4
View File
@@ -413,7 +413,7 @@ sub _build_markdown_head {
# * I don't actually see anything that curly braces are used for.
# * Escaping square brackets is enough to avoid accidentally
# creating links and images (so we don't need to escape plain parentheses
# or exclamation points as that would generate a lot of unnecesary noise).
# or exclamation points as that would generate a lot of unnecessary noise).
# Parentheses will be escaped in urls (&end_L) to avoid premature termination.
# * We don't need a backslash for every hash mark or every hyphen found mid-word,
# just the ones that start a line (likewise for plus and dot).
@@ -542,7 +542,7 @@ sub _process_escapes {
# The patterns below are taken from Markdown.pl 1.0.1 _EncodeAmpsAndAngles().
# In this case we only want to encode the ones that Markdown won't.
# This is overkill but produces nicer looking text (less escaped entities).
# If it proves insufficent then we'll just encode them all.
# If it proves insufficient then we'll just encode them all.
# $1: If the escape was in a code sequence, simply replace the original.
# $2: If the unescaped value would be followed by characters
@@ -1007,8 +1007,8 @@ sub end_L {
# Backslash escapes do not work for the space and quotes.
# URL-encoding the space is not sufficient
# (the quotes confuse some parsers and produce invalid html).
# I've arbitratily chosen HTML encoding to hide them from markdown
# while mangling the url as litle as possible.
# I've arbitrarily chosen HTML encoding to hide them from markdown
# while mangling the url as little as possible.
$url =~ s/([ '"])/sprintf '&#x%x;', ord($1)/ge;
# We also need to double any backslashes that may be present
+3 -3
View File
@@ -54,7 +54,7 @@ if (-d '_darcs') { # Darcs
print "== Found <top>/_darcs directory\n" if $opt_v;
# v1-4-dirty
# is tag 'v1' plus 4 patches
# with uncommited modifications
# with uncommitted modifications
my @tags = split('\n', `darcs show tags`);
my $count = `darcs changes --count --from-tag .` - 1;
my $result = $tags[0] . '-' . $count;
@@ -73,7 +73,7 @@ elsif (-d '.hg') { # Mercurial
print "== Found <top>/.hg directory\n" if $opt_v;
# v1-4-abcdef-dirty
# is 4 commits after tag 'v1' with short hash abcdef
# with uncommited modifications
# with uncommitted modifications
my $result = `hg tip --template '{latesttag}-{latesttagdistance}-{node|short}'`;
print "== hg tip:\n$result\n==\n" if $opt_v;
if (!$? && $result ne '') {
@@ -90,7 +90,7 @@ elsif (-d '.git' || -f '.git') { # Git
print "== Found <top>/.git directory\n" if $opt_v;
# v1-4-abcdef-dirty
# is 4 commits after tag 'v1' with short hash abcdef
# with uncommited modifications
# with uncommitted modifications
my $result = `git describe --always --tags --dirty --long`;
chomp $result;
print "== git describe:\n$result\n==\n" if $opt_v;
+1 -1
View File
@@ -70,7 +70,7 @@ recommended. The old approach is simpler in these cases.
In a Makefile that is building a DLL or shared library, set the variable
C<API_HEADER> to the name of the API header file to be generated. This name
must start with a legal C identifier and end with C<API.h>. The C identifier
part preceeding the C<API.h> is referred to here as the I<stem> for this
part preceding the C<API.h> is referred to here as the I<stem> for this
header file, and should be a short name in lower case or camelCase. For
example the stem used in the example here is C<libCom>:
+1 -1
View File
@@ -410,7 +410,7 @@ sub _parse_tests {
if ($s =~ /(?:not |)\S+ (\d+)/) { $ntest = $1+0; }
if ($ntest > $ctx->{plan_ntests}) {
# jump in test numbers, more than planned; this is probably TAP::Parser's wierdness.
# jump in test numbers, more than planned; this is probably TAP::Parser's weirdness.
# (when it sees the "ok" line at the end of a test case with no number,
# it outputs the current total number of tests so far.)
next;