Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plumed AlphaFold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Kurečka
Plumed AlphaFold
Commits
8165d13f
There was an error fetching the commit references. Please try again later.
Commit
8165d13f
authored
5 years ago
by
Gareth Tribello
Browse files
Options
Downloads
Patches
Plain Diff
Spelling script now doesn't take git_version into account
parent
d2b7442d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
user-doc/go-spelling
+3
-1
3 additions, 1 deletion
user-doc/go-spelling
with
3 additions
and
1 deletion
user-doc/go-spelling
+
3
−
1
View file @
8165d13f
...
@@ -19,6 +19,8 @@ cat spelling/pkeys | sed -e $'s/_/\\\n/g' | grep -v '[0-9]' | sed -e $'s/-/\\\n/
...
@@ -19,6 +19,8 @@ cat spelling/pkeys | sed -e $'s/_/\\\n/g' | grep -v '[0-9]' | sed -e $'s/-/\\\n/
nsafewords
=
`
cat
spelling/keywords spelling/allkeys spelling_words.dict |
wc
-l
|
awk
'{print $1}'
`
nsafewords
=
`
cat
spelling/keywords spelling/allkeys spelling_words.dict |
wc
-l
|
awk
'{print $1}'
`
echo
personal_ws-1.1 en
$nsafewords
>
./spelling/allwords.dict
echo
personal_ws-1.1 en
$nsafewords
>
./spelling/allwords.dict
cat
spelling/keywords spelling/allkeys spelling_words.dict
>>
spelling/allwords.dict
cat
spelling/keywords spelling/allkeys spelling_words.dict
>>
spelling/allwords.dict
# Get the git version
git_version
=
"
$(
../src/lib/plumed
--no-mpi
info
--git-version
)
"
# This is everything we have done thus far
# This is everything we have done thus far
for
file
in
*
PP.md automatic/
*
.txt ../CHANGES/
*
.md tutorials/
*
.txt tutorials/
*
.site tutorials/others/
*
.txt
;
do
for
file
in
*
PP.md automatic/
*
.txt ../CHANGES/
*
.md tutorials/
*
.txt tutorials/
*
.site tutorials/others/
*
.txt
;
do
...
@@ -27,7 +29,7 @@ for file in *PP.md automatic/*.txt ../CHANGES/*.md tutorials/*.txt tutorials/*.s
...
@@ -27,7 +29,7 @@ for file in *PP.md automatic/*.txt ../CHANGES/*.md tutorials/*.txt tutorials/*.s
nf
=
`
echo
$splits
|
awk
'{print NF}'
`
nf
=
`
echo
$splits
|
awk
'{print NF}'
`
fname
=
`
echo
$splits
|
awk
-v
n
=
$nf
'{print $n}'
`
fname
=
`
echo
$splits
|
awk
-v
n
=
$nf
'{print $n}'
`
# This is some stuff to get rid of stuff that trips up the spell checker: the equations and the plumed examples
# This is some stuff to get rid of stuff that trips up the spell checker: the equations and the plumed examples
cat
$file
|
grep
-v
"
\\
image"
|
grep
-v
"anchor"
|
sed
-e
's/psi-1//'
|
sed
-e
's/-#//'
|
sed
-e
's/@//'
|
sed
-e
's/&//'
|
sed
-e
's/\vdots//'
|
cat
$file
|
grep
-v
"
\\
image"
|
grep
-v
$git_version
|
grep
-v
"anchor"
|
sed
-e
's/psi-1//'
|
sed
-e
's/-#//'
|
sed
-e
's/@//'
|
sed
-e
's/&//'
|
sed
-e
's/\vdots//'
|
awk
'BEGIN{inp=0}{
awk
'BEGIN{inp=0}{
if($1=="\\endplumedfile" || $1=="\\f]" || $1=="\\f}" || $1=="\\endauxfile" || $1=="\\endverbatim" || $1=="\\endcode"){inp=0;}
if($1=="\\endplumedfile" || $1=="\\f]" || $1=="\\f}" || $1=="\\endauxfile" || $1=="\\endverbatim" || $1=="\\endcode"){inp=0;}
else if($1=="\\plumedfile" || $1=="\\f[" || $1=="\\f{eqnarray*}{" || $1=="\\f{align}{" || match($1,"auxfile") || $1=="\\verbatim" || index($1,"\\code{")!=0 ){inp=1;}
else if($1=="\\plumedfile" || $1=="\\f[" || $1=="\\f{eqnarray*}{" || $1=="\\f{align}{" || match($1,"auxfile") || $1=="\\verbatim" || index($1,"\\code{")!=0 ){inp=1;}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment