由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - 如何用grep搜索包含ULL且不包含NULL的单词?
相关主题
如何把一个目录下的文件名全部改成小写?sed? awk? or mak a program?
[转载] How to list the files with specific permission?how to grep a string in all sub-dirs?
shell programming problemshow to escape both ' and " from tcsh?
How do i get a list of all computers?where is the pre-build version of cxterm-solaris
replace a string in all files under a directory?Where's emacs' private dictionary?
How to find a file in the deep children directory?UNIX Tip: the bad and the good
Re: 如何用grep查找子目录下的文件?--stop!如何删除一组文件或给一组文件更名?
Re: 如何用grep查找子目录下的文件?regular expression中回车用什么表示?
相关话题的讨论汇总
话题: ull话题: grep话题: null
进入Unix版参与讨论
1 (共1页)
b******h
发帖数: 71
1
rt
w*******o
发帖数: 32
2

grep ULL your_input | grep -v NULL

【在 b******h 的大作中提到】
: rt
c******n
发帖数: 4965
3
grep "\([^N]ULL\)\|\(\\)" input
note this is "no magic " mode, if "magic", use ( ) | instead

【在 w*******o 的大作中提到】
:
: grep ULL your_input | grep -v NULL

1 (共1页)
进入Unix版参与讨论
相关主题
regular expression中回车用什么表示?replace a string in all files under a directory?
一个高技术问题How to find a file in the deep children directory?
想写个小东东Re: 如何用grep查找子目录下的文件?--stop!
Help on shell scriptRe: 如何用grep查找子目录下的文件?
如何把一个目录下的文件名全部改成小写?sed? awk? or mak a program?
[转载] How to list the files with specific permission?how to grep a string in all sub-dirs?
shell programming problemshow to escape both ' and " from tcsh?
How do i get a list of all computers?where is the pre-build version of cxterm-solaris
相关话题的讨论汇总
话题: ull话题: grep话题: null