# Claude Learn: global
<!-- paths: * -->

## 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.
