Skip to content

Commit 26fc0a3

Browse files
author
Biksu Okusi
committed
refactor(data): expunge old BCS code references
- Replace BCS14xx with BCS11xx in section 11 (Concurrency) files - Replace BCS13xx with BCS12xx in section 12 rulet file - Regenerate canonical BASH-CODING-STANDARD files - Delete obsolete OLD-TO-NEW-MAPPING.md The old 14-section structure codes are no longer needed.
1 parent f105d64 commit 26fc0a3

18 files changed

Lines changed: 100 additions & 374 deletions

OLD-TO-NEW-MAPPING.md

Lines changed: 0 additions & 274 deletions
This file was deleted.

data/11-concurrency/01-background-jobs.abstract.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ wait "${PIDS[@]}"
2727
- `command &` without `pid=$!` â†' cannot manage job later
2828
- Using `$$` for background PID â†' wrong; `$$` is parent, `$!` is child
2929

30-
**Ref:** BCS1406
30+
**Ref:** BCS1101

data/11-concurrency/01-background-jobs.complete.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Background Job Management
22

3-
**Rule: BCS1406**
3+
**Rule: BCS1101**
44

55
Managing background processes, job control, and process lifecycle in Bash scripts.
66

@@ -115,6 +115,6 @@ echo "Started $!"
115115

116116
---
117117

118-
**See Also:** BCS1407 (Parallel Execution), BCS1408 (Wait Patterns), BCS1409 (Timeout Handling)
118+
**See Also:** BCS1102 (Parallel Execution), BCS1103 (Wait Patterns), BCS1104 (Timeout Handling)
119119

120120
**Full implementation:** See `examples/exemplar-code/oknav/oknav` lines 475-510

data/11-concurrency/01-background-jobs.summary.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Background Job Management
22

3-
**Rule: BCS1406**
3+
**Rule: BCS1101**
44

55
Managing background processes, job control, and process lifecycle.
66

@@ -103,4 +103,4 @@ echo "Started $!"
103103

104104
---
105105

106-
**See Also:** BCS1407 (Parallel Execution), BCS1408 (Wait Patterns), BCS1409 (Timeout Handling)
106+
**See Also:** BCS1102 (Parallel Execution), BCS1103 (Wait Patterns), BCS1104 (Timeout Handling)

data/11-concurrency/02-parallel-execution.complete.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Parallel Execution Patterns
22

3-
**Rule: BCS1407** (New)
3+
**Rule: BCS1102** (New)
44

55
Executing multiple commands concurrently while maintaining control and collecting results.
66

@@ -110,6 +110,6 @@ count=$(wc -l < "$temp_dir"/count)
110110

111111
---
112112

113-
**See Also:** BCS1406 (Background Jobs), BCS1408 (Wait Patterns)
113+
**See Also:** BCS1101 (Background Jobs), BCS1103 (Wait Patterns)
114114

115115
**Full implementation:** See `examples/exemplar-code/oknav/oknav` lines 465-530

data/11-concurrency/02-parallel-execution.summary.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Parallel Execution Patterns
22

3-
**Rule: BCS1407**
3+
**Rule: BCS1102**
44

55
Concurrent command execution with control and result collection.
66

@@ -106,4 +106,4 @@ count=$(wc -l < "$temp_dir"/count)
106106

107107
---
108108

109-
**See Also:** BCS1406 (Background Jobs), BCS1408 (Wait Patterns)
109+
**See Also:** BCS1101 (Background Jobs), BCS1103 (Wait Patterns)

data/11-concurrency/03-wait-patterns.abstract.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ done
4141

4242
---
4343

44-
**See Also:** BCS1406, BCS1407
44+
**See Also:** BCS1101, BCS1102
4545

4646
**Ref:** BCS1103

data/11-concurrency/03-wait-patterns.complete.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Wait Patterns
22

3-
**Rule: BCS1408** (New)
3+
**Rule: BCS1103** (New)
44

55
Proper synchronization when waiting for background processes.
66

@@ -105,4 +105,4 @@ wait $! || die 1 'Command failed'
105105

106106
---
107107

108-
**See Also:** BCS1406 (Background Jobs), BCS1407 (Parallel Execution)
108+
**See Also:** BCS1101 (Background Jobs), BCS1102 (Parallel Execution)

data/11-concurrency/03-wait-patterns.summary.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Wait Patterns
22

3-
**Rule: BCS1408**
3+
**Rule: BCS1103**
44

55
Proper synchronization when waiting for background processes.
66

@@ -101,4 +101,4 @@ wait $! || die 1 'Command failed'
101101

102102
---
103103

104-
**See Also:** BCS1406 (Background Jobs), BCS1407 (Parallel Execution)
104+
**See Also:** BCS1101 (Background Jobs), BCS1102 (Parallel Execution)

data/11-concurrency/04-timeout-handling.complete.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Timeout Handling
22

3-
**Rule: BCS1409** (New)
3+
**Rule: BCS1104** (New)
44

55
Managing command timeouts and handling timeout conditions gracefully.
66

@@ -104,6 +104,6 @@ timeout 300 ssh -o ConnectTimeout=10 "$server" 'long_command'
104104

105105
---
106106

107-
**See Also:** BCS1410 (Exponential Backoff)
107+
**See Also:** BCS1105 (Exponential Backoff)
108108

109109
**Full implementation:** See `examples/exemplar-code/oknav/oknav` line 676

0 commit comments

Comments
 (0)