TR.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- TR(1) Minix Programmer's Manual TR(1)
- NAME
- tr - translate character codes
- SYNOPSIS
- tr [-cds] [string1] [string2]
- OPTIONS
- -c Complement the set of characters in string1
- -d Delete all characters specified in string1
- -s Squeeze all runs of characters in string1 to one character
- EXAMPLES
- tr '[A-Z]' '[a-z]' <x >y
- # Convert upper case to lower case
- tr -d '0123456789' <f1 >f2
- # Delete all digits from f1
- DESCRIPTION
- Tr performs simple character translation. When no flag is specified,
- each character in string1 is mapped onto the corresponding character in
- string2 .
- 1