---
title: "shell 过滤数字/字符命令"
author: "yanwenhan"
date: "2008-07-10T13:42:49Z"
tags: []
slug: "shell"
draft: false
lastmod: "2008-07-10T13:42:49Z"
id: 213449
url: "https://yanwenhan.iteye.com/blog/213449"
---

echo 12345adsfdsf90|tr -cd 0-9
echo 12345adsfdsf90|tr -cd a-z