英文字典中文字典


英文字典中文字典51ZiDian.com



中文字典辞典   英文字典 a   b   c   d   e   f   g   h   i   j   k   l   m   n   o   p   q   r   s   t   u   v   w   x   y   z       







请输入英文单字,中文词皆可:

grep    
n. 文本查找工具

文本查找工具

A {Unix} command for
searching files for lines matching a given {regular
expression} (RE). Named after the {qed}/{ed} editor
subcommand "g/re/p", where re stands for a regular expression,
to Globally search for the Regular Expression and Print the
lines containing matches to it. There are two other variants,
fgrep which searches only for fixed strings and {egrep} which
accepts extended REs but is usually the fastest of the three.

Used by extension to mean "to look for something by pattern".
When browsing through a large set of files, one may speak of
"grepping around". "Grep the bulletin board for the system
backup schedule, would you?" See also {vgrep}.

[{Jargon File}]

Global Regular Expression Print (Unix)


请选择你想看的字典辞典:
单词字典翻译
grep查看 grep 在百度字典中的解释百度英翻中〔查看〕
grep查看 grep 在Google字典中的解释Google英翻中〔查看〕
grep查看 grep 在Yahoo字典中的解释Yahoo英翻中〔查看〕





安装中文字典英文字典查询工具!


中文字典英文字典工具:
选择颜色:
输入中英文单字

































































英文字典中文字典相关资料:


  • How do I recursively grep all directories and subdirectories?
    If you find yourself frequently using grep to do recursive searches (especially if you manually do a lot of file directory exlusions), you may find ack (a very programmer-friendly grep alternative) useful
  • What is the difference between grep -e and grep -E option?
    grep -e PATTERN unless, as stated in an earlier Answer and in the man pages, there are multiple search patterns, or to protect a pattern beginning with a hyphen (-)
  • linux - What is the point of grep -q - Stack Overflow
    Moreover, this is a lot faster than a regular grep invocation, since it can exit immediately when the first match is found, rather than needing to unconditionally read (and write) to the end of file
  • Using the star sign in grep - Stack Overflow
    grep itself doesn't support wildcards on most platforms You have to use egrep to use wildcards Shells have a different syntax "*" in the shell is <any string> In egrep it's an operator that says "0 to many of the previous entity" In grep, it's just a regular character
  • How to run grep with multiple AND patterns? - Unix Linux Stack Exchange
    I would like to get the multi pattern match with implicit AND between patterns, i e equivalent to running several greps in a sequence: grep pattern1 | grep pattern2 | So how to convert it to
  • How can I use grep to find a word inside a folder?
    165 grep -nr string my_directory Additional notes: this satisfies the syntax grep [options] string filename because in Unix-like systems, a directory is a kind of file (there is a term "regular file" to specifically refer to entities that are called just "files" in Windows)
  • find difference between two text files with one item per line
    grep -Fxvf file1 file2 What the flags mean: -F, --fixed-strings Interpret PATTERN as a list of fixed strings, separated by newlines, any of which is to be matched -x, --line-regexp Select only those matches that exactly match the whole line -v, --invert-match Invert the sense of matching, to select non-matching lines -f FILE, --file=FILE Obtain patterns from FILE, one per line The empty
  • How do I fetch lines before after the grep result in bash?
    The second grep command "grep -oP", finds the matching string and prints everything after it until it reaches the end of the current line, while excluding the matching string
  • Find all files containing a specific text (string) on Linux
    How do I find all files containing a specific string of text within their file contents? The following doesn't work It seems to display every single file in the system find -type f -exec grep -H '
  • grep -P no longer works. How can I rewrite my searches?
    If your scripts are for your use only, you can install grep from homebrew-core using brew: brew install grep Then it's available as ggrep (GNU grep) it doesn't replaces the system grep (you need to put the installed grep before the system one on the PATH) The version installed by brew includes the -P option, so you don't need to change your scripts If you need to use these commands with





中文字典-英文字典  2005-2009