ocr extract

This commit is contained in:
Claude Agent
2026-01-07 14:34:07 +00:00
parent 22eca953ce
commit cc98d6f21f
24 changed files with 774 additions and 2346 deletions

View File

@@ -1,33 +1,7 @@
# Claude Learn: Global
# Claude Learn: global
<!-- paths: * -->
**Domain**: global
**Last updated**: 2026-01-06
**Sessions recorded**: 1
Cross-cutting knowledge applicable to multiple domains (scripting, tooling, workflow).
---
## Patterns
_(None recorded yet)_
---
## Gotchas
### Sed Command Quote Mismatch in Bulk Find-Replace
**Discovered**: 2025-12-22 (feature: unified-app)
**Problem**: Bulk sed commands using single quotes in pattern didn't match imports using double quotes, and vice versa. Commands like sed 's|from '@/stores/'|...' didn't replace from "@/stores/" lines.
**Solution**: Always use the quote style that matches the target files. For Vue/JS files with ESLint using double quotes, use double quotes in sed patterns. Better yet: use find -exec with separate sed for each file to handle both quote styles.
**Tags**: sed, regex, scripting, find-replace, migration
---
## Statistics
- **Total Patterns**: 0
- **Total Gotchas**: 1
- **Last Session**: 2026-01-06
- **Sessions Recorded**: 1
## G: Sed Command Quote Mismatch in Bulk Find-Replace
@2025-12-22 #sed #regex #scripting | inferred:med
**P**: Bulk sed commands using single quotes in pattern didn't match imports using double quotes. Commands like `sed 's|from '@/stores/'|...'` didn't replace `from "@/stores/"` lines.
**S**: Use quote style that matches target files. For Vue/JS files with ESLint using double quotes, use double quotes in sed patterns. Or use find -exec with separate sed for each quote style.