# Marcel - Pipe에 문자열 대신 파이썬 타입을 넘겨주는 최신 쉘

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

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=11683](https://news.hada.io/topic?id=11683)
- GeekNews Markdown: [https://news.hada.io/topic/11683.md](https://news.hada.io/topic/11683.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2023-11-05T10:03:01+09:00
- Updated: 2023-11-05T10:03:01+09:00
- Original source: [marceltheshell.org](https://www.marceltheshell.org/)
- Points: 8
- Comments: 1

## Topic Body

- 명령간 Piping 시에 일반적인 문자열 대신 파이썬 값(List, Tuple, String, Number) 및 객체(파일, 프로세스)를 전달   
- 별도의 언어 없이 파이썬을 이용하여 필터링/프로세싱/포맷팅 가능   
  - `$ ps | select (p: 'python' in p.commandline)`  
  - `$ ls | select (lambda f: now() - f.mtime < days(1))`  
- 파이썬 자료 구조루부터 JSON으로 변환 및 입력/출력

## Comments



### Comment 20369

- Author: regentag
- Created: 2023-11-05T11:52:18+09:00
- Points: 1

Powershell의 파이썬 버전일까요 ㅎㅎ
