e is used to specify multiple expressions, like this:ĭ:\VS Projects\_temp\wingrep\bin\Debug\file.txt:-c : This prints only count of the lines that match a patternĭ:\VS Projects\_temp\wingrep\bin\Debug\file.txt:-i : Ignores case for matchingĭ:\VS Projects\_temp\wingrep\bin\Debug\file.txt:-v : This prints out all the lines that do not match the patternĭ:\VS Projects\_temp\wingrep\bin\Debug\file.txt:-e exp : Specifies expression with this option. In that case, a default option of -h (display matched lines) is assumed. Minimum number of arguments is 2 - pattern and at least one filename. C n : Prints searched line and n lines after and before the result. B n : Prints searched line and n line before the result. A n : Prints searched line and n lines after the result. ![]() With each such part on a separate output line. o : Print only the matched parts of a matching line, f file : Takes patterns from file, one per line. e exp : Specifies expression with this option. v : This prints out all the lines that do not match the pattern n : Display the matched lines and their line numbers. ![]() h : Display the matched lines, but do not display the filenames. c : This prints only count of the lines that match a pattern
0 Comments
Leave a Reply. |