# Brush - Rust로 구현한 POSIX/Bash 호환 쉘

> Clean Markdown view of GeekNews topic #22654. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=22654](https://news.hada.io/topic?id=22654)
- GeekNews Markdown: [https://news.hada.io/topic/22654.md](https://news.hada.io/topic/22654.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2025-08-22T09:31:01+09:00
- Updated: 2025-08-22T09:31:01+09:00
- Original source: [github.com/reubeno](https://github.com/reubeno/brush)
- Points: 9
- Comments: 0

## Summary

Rust로 개발된 **Brush**는 기존 **C 기반 Bash**보다 뛰어난 **안전성**과 **유지보수성**을 제공하는 POSIX/Bash 호환 쉘입니다. Linux, macOS, WSL 등에서 동작하며, **`.bashrc` 호환**, 기존 셸 스크립트 실행, 폭넓은 **테스트 케이스**를 통한 신뢰도를 제공합니다.

## Topic Body

- **B(o)rn(e) RUsty SHell** - Rust로 작성되어 C 기반 Bash보다 안전성과 유지보수성이 높은 **POSIX- 및 Bash 호환 쉘**  
- Linux, macOS, WSL에서 동작하며, Windows 지원은 실험적 단계  
- 대부분의 `sh`/`bash` 스크립트를 실행할 수 있고 일상적인 인터랙티브 사용이 가능  
- `.bashrc`를 그대로 처리하며, 구분을 원할 경우 `~/.brushrc` 이용  
- Rust 생태계의 Crate(`tokio`, `clap`, `fancy-regex`, `criterion.rs`) 등을 직접 활용 가능 → 복잡한 기능을 안정적으로 구현  
  - 비동기 처리, 프로파일링, 벤치마킹 가능 → 대규모 스크립트 실행 시 효율성 기대  
- **675개 이상의 테스트 케이스**로 Bash 등 기존 쉘과의 동작 비교 검증 → 신뢰도 높은 호환성 보장  
- Cargo, Nix, Homebrew, Arch 리포지토리 등 다양한 배포 채널 지원으로 설치와 관리가 간편  
- MIT 라이선스

## Comments



_No public comments on this page._
