-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This is the comprehensive documentation hub for Clean BOM Senior, a professional-grade utility for removing Byte Order Mark (BOM) encoding artifacts from text files across multiple file types.
Whether you're a developer, system administrator, or DevOps engineer, you'll find everything you need to master this powerful tool.
Our documentation is organized into focused learning paths:
- Quick Start Guide β Installation, first run, and basic examples
- Get up and running in minutes with step-by-step instructions
- Understanding BOM and CRLF β Technical deep-dive into BOM types and line endings
- Learn what BOM is and why it matters
- File Types and Detection β Comprehensive guide to supported formats
- Understand automatic file type detection mechanisms
- Architecture-Overview β System design, execution flow diagram, and internal components
- Basic Examples β Practical examples for all common tasks
- Command-Line Reference β Complete CLI documentation
- All flags, options, and parameters explained with examples
- CI/CD Integration Guide β Automate BOM removal in your pipeline
- GitHub Actions, GitLab CI, Jenkins, Docker examples
- Troubleshooting Guide β Solutions to common issues
- Diagnostic tools and error resolution
- FAQ β 40+ frequently asked questions
- Quick answers to common questions
- Full Index β Complete sitemap and search guide
You just want to use the tool quickly:
- Read Quick Start Guide
- Skim Command-Line Reference
- Bookmark Troubleshooting Guide for later
You need complete understanding:
- Complete Quick Start Guide
- Deep-dive Understanding BOM and CRLF
- Study File Types and Detection
- Master CI/CD Integration Guide
You manage multiple environments:
- Start Understanding BOM and CRLF
- Review File Types and Detection
- Implement CI/CD Integration Guide
- Archive Troubleshooting Guide
You want to know everything:
- Complete all sections in order
- Practice examples from each guide
- Explore advanced scenarios in FAQ
- Bookmark this Wiki for reference
Clean BOM Senior is a robust, production-ready shell script that:
β
Removes BOM encodings from text files (UTF-8 BOM, UTF-16, UTF-32)
β
Handles CRLF line endings properly and safely
β
Auto-detects file types for intelligent processing
β
Supports 50+ file extensions with type-specific rules
β
Batch processes directories recursively
β
Provides detailed reporting of changes made
β
Creates backups for safety and recovery
β
Cross-platform compatible (Linux, macOS, WSL)
β
CI/CD ready with exit codes and automation support
β
Well-documented with 150+ code examples
Solution: Run clean-bom-senior.sh on the directory. See Quick Start Guide.
Solution: Use --fix-gitattributes flag. See Troubleshooting Guide.
Solution: Use GitHub Actions integration. See CI/CD Integration Guide.
Solution: Clean BOM Senior auto-detects. See File Types and Detection.
Quick answers? β Check FAQ
Something not working? β Visit Troubleshooting Guide
Looking for a specific command? β Browse Command-Line Reference
Want to understand the concept? β Read Understanding BOM and CRLF
Getting started? β Follow Quick Start Guide
- 9 comprehensive pages covering all aspects
- 150+ code examples ready to copy-paste
- 30+ reference tables for quick lookup
- 40+ FAQ entries answering common questions
- 12 troubleshooting solutions with diagnostics
- 5 CI/CD platform integrations (GitHub, GitLab, Jenkins, Docker, Make)
- 100+ cross-references for easy navigation
New to Clean BOM Senior?
β Start with Quick Start Guide (5 minutes)
Want to understand BOM better?
β Read Understanding BOM and CRLF (15 minutes)
Need to integrate with your CI/CD?
β Check CI/CD Integration Guide (20 minutes)
Looking for something specific?
β Search in INDEX or use the search box above
| Resource | Purpose | Time |
|---|---|---|
| Quick Start Guide | Get running fast | 5 min |
| Understanding BOM and CRLF | Learn concepts | 15 min |
| File Types and Detection | Know file handling | 20 min |
| Command-Line Reference | Explore all features | 30 min |
| CI/CD Integration Guide | Automate workflow | 25 min |
| Troubleshooting Guide | Fix issues | As needed |
| FAQ | Quick answers | 5-10 min |
| INDEX | Full navigation | Reference |
# Remove BOM from all files in directory
./clean-bom-senior.sh /path/to/directory
# Dry-run to preview changes
./clean-bom-senior.sh --dry-run /path/to/directory
# Include backup files
./clean-bom-senior.sh --backup /path/to/directory
# Process specific file type
./clean-bom-senior.sh --file-type text /path/to/directory
# Verbose reporting
./clean-bom-senior.sh --verbose /path/to/directoryFor complete reference: Command-Line Reference
- GitHub Repository: https://github.com/paulmann/Clean_BOM_Senior
- Issue Tracker: https://github.com/paulmann/Clean_BOM_Senior/issues
- Project Author: Mikhail Deynekin
- Website: https://deynekin.com
Last updated: 2025
Clean BOM Senior β Professional Documentation