From 56a5e0cc4806debbf452b615c9555af6f582f4f0 Mon Sep 17 00:00:00 2001 From: Martin Schroschk <martin.schroschk@tu-dresden.de> Date: Thu, 19 May 2022 09:23:12 +0200 Subject: [PATCH] Fix renamed file name --- .../util/grep-forbidden-patterns.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc.zih.tu-dresden.de/util/grep-forbidden-patterns.sh b/doc.zih.tu-dresden.de/util/grep-forbidden-patterns.sh index 94b713c7e..cacde0d9e 100755 --- a/doc.zih.tu-dresden.de/util/grep-forbidden-patterns.sh +++ b/doc.zih.tu-dresden.de/util/grep-forbidden-patterns.sh @@ -14,22 +14,22 @@ basedir=`dirname "$basedir"` #For example, the first rule says: # The pattern \<io\> should not be present in any file (case-insensitive match), except when it appears as ".io". ruleset="The word \"IO\" should not be used, use \"I/O\" instead. -doc.zih.tu-dresden.de/docs/contrib/content_guide_lines.md +doc.zih.tu-dresden.de/docs/contrib/content_rules.md i \<io\> \.io \"SLURM\" (only capital letters) should not be used, use \"Slurm\" instead. -doc.zih.tu-dresden.de/docs/contrib/content_guide_lines.md +doc.zih.tu-dresden.de/docs/contrib/content_rules.md s \<SLURM\> \"File system\" should be written as \"filesystem\", except when used as part of a proper name. -doc.zih.tu-dresden.de/docs/contrib/content_guide_lines.md +doc.zih.tu-dresden.de/docs/contrib/content_rules.md i file \+system HDFS Use \"ZIH systems\" or \"ZIH system\" instead of \"Taurus\". \"taurus\" is only allowed when used in ssh commands and other very specific situations. -doc.zih.tu-dresden.de/docs/contrib/content_guide_lines.md doc.zih.tu-dresden.de/docs/archive/phase2_migration.md +doc.zih.tu-dresden.de/docs/contrib/content_rules.md doc.zih.tu-dresden.de/docs/archive/phase2_migration.md i \<taurus\> taurus\.hrsk /taurus /TAURUS ssh ^[0-9]\+:Host taurus$ \"HRSKII\" should be avoided, use \"ZIH system\" instead. -doc.zih.tu-dresden.de/docs/contrib/content_guide_lines.md +doc.zih.tu-dresden.de/docs/contrib/content_rules.md i \<hrskii\> The term \"HPC-DA\" should be avoided. Depending on the situation, use \"data analytics\" or similar. -doc.zih.tu-dresden.de/docs/contrib/content_guide_lines.md +doc.zih.tu-dresden.de/docs/contrib/content_rules.md i hpc[ -]\+da\> \"ATTACHURL\" was a keyword in the old wiki, don't use it. @@ -56,13 +56,13 @@ Internal links should not contain \"/#\". i (.*/#.*) (http When referencing partitions, put keyword \"partition\" in front of partition name, e. g. \"partition ml\", not \"ml partition\". -doc.zih.tu-dresden.de/docs/contrib/content_guide_lines.md +doc.zih.tu-dresden.de/docs/contrib/content_rules.md i \(alpha\|ml\|haswell\|romeo\|gpu\|smp\|julia\|hpdlf\|scs5\|dcv\)-\?\(interactive\)\?[^a-z|]*partition Give hints in the link text. Words such as \"here\" or \"this link\" are meaningless. -doc.zih.tu-dresden.de/docs/contrib/content_guide_lines.md +doc.zih.tu-dresden.de/docs/contrib/content_rules.md i \[\s\?\(documentation\|here\|more info\|\(this \)\?\(link\|page\|subsection\)\|slides\?\|manpage\)\s\?\] Use \"workspace\" instead of \"work space\" or \"work-space\". -doc.zih.tu-dresden.de/docs/contrib/content_guide_lines.md +doc.zih.tu-dresden.de/docs/contrib/content_rules.md i work[ -]\+space" function grepExceptions () { -- GitLab