From 84942d44e3c793081c99521adc554f4b1a18fd07 Mon Sep 17 00:00:00 2001 From: Richard Kranendonk Date: Thu, 7 May 2026 14:26:22 +0200 Subject: [PATCH] manually added front matter --- ...Terms-definitions-and-abbreviated-terms.md | 14 ++++++++ .../27002/EN/a-5.3-Segregation-of-duties.md | 1 - .../ISO27x/OST/27002/NL/remove_tables.py | 32 ------------------- 3 files changed, 14 insertions(+), 33 deletions(-) delete mode 100644 Corpus/Standards/ISO27x/OST/27002/NL/remove_tables.py diff --git a/Corpus/Standards/ISO27x/OST/27002/EN/a-3-Terms-definitions-and-abbreviated-terms.md b/Corpus/Standards/ISO27x/OST/27002/EN/a-3-Terms-definitions-and-abbreviated-terms.md index 23cf32d..31ffb18 100644 --- a/Corpus/Standards/ISO27x/OST/27002/EN/a-3-Terms-definitions-and-abbreviated-terms.md +++ b/Corpus/Standards/ISO27x/OST/27002/EN/a-3-Terms-definitions-and-abbreviated-terms.md @@ -1,3 +1,17 @@ +--- +notetype: reference +standard: ISO 27002 +version: 2022 +language: EN +id: "A.3" +title: "Terms, definitions, and abbreviated terms" +tags: +- iso27002/2022/EN +- sourcetext +status: active +--- +# 3 Terms, definitions, and abbreviated terms + ## 3.1 Terms and definitions For the purposes of this document, the following terms and definitions apply. ISO and IEC maintain terminology databases for use in standardization at the following addresses: — ISO Online browsing platform: available at https://www.iso.org/obp diff --git a/Corpus/Standards/ISO27x/OST/27002/EN/a-5.3-Segregation-of-duties.md b/Corpus/Standards/ISO27x/OST/27002/EN/a-5.3-Segregation-of-duties.md index f000b41..616387a 100644 --- a/Corpus/Standards/ISO27x/OST/27002/EN/a-5.3-Segregation-of-duties.md +++ b/Corpus/Standards/ISO27x/OST/27002/EN/a-5.3-Segregation-of-duties.md @@ -22,7 +22,6 @@ tags: - sourcetext status: active --- - ## 5.3 Segregation of duties ### Control diff --git a/Corpus/Standards/ISO27x/OST/27002/NL/remove_tables.py b/Corpus/Standards/ISO27x/OST/27002/NL/remove_tables.py deleted file mode 100644 index e70dce4..0000000 --- a/Corpus/Standards/ISO27x/OST/27002/NL/remove_tables.py +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env python3 -import os -import re - -directory = '/Users/rico/src/iso27diy-corp/Corpus/Standards/ISO27x/OST/27002/NL/' - -for filename in os.listdir(directory): - if filename.endswith('.md') and filename.startswith('a-') and not filename.startswith('a-3') and not filename.startswith('a-4'): - filepath = os.path.join(directory, filename) - with open(filepath, 'r') as f: - lines = f.readlines() - - new_lines = [] - skip = False - for line in lines: - stripped = line.strip() - if stripped.startswith('## '): - new_lines.append(line) - skip = True # Start skipping table lines - elif skip: - if stripped.startswith('|') or stripped.startswith('+') or stripped == '': - continue # Skip table and blank lines - else: - skip = False - new_lines.append(line) # First content line - else: - new_lines.append(line) - - with open(filepath, 'w') as f: - f.writelines(new_lines) - -print("Legacy property tables removed from NL files.") \ No newline at end of file