имеется много файлов, находимых по паттерну, в которых нужно найти строки, содержащие подстроку А и расположенные между строками, содержащими подстроки B и С. ответ должен обязательно содержать file name + line number, копия строки тоже желательна. какой тул поможет мне это сделать с минимальным геморроем?
(no subject)
Date: 2003-06-11 11:58 am (UTC)Гы-гы, каких только в природе не бывает find
Date: 2003-06-11 12:01 pm (UTC)Searches for a text string in a file or files.
FIND [/V] [/C] [/N] [/I] "string" [[drive:][path]filename[ ...]]
/V Displays all lines NOT containing the specified string.
/C Displays only the count of lines containing the string.
/N Displays line numbers with the displayed lines.
/I Ignores the case of characters when searching for the string.
"string" Specifies the text string to find.
[drive:][path]filename
Specifies a file or files to search.
If a path is not specified, FIND searches the text typed at the prompt
or piped from another command.
Re: Гы-гы, каких только в природе не бывает find
Date: 2003-06-11 12:06 pm (UTC)Re: Гы-гы, каких только в природе не бывает find
Date: 2003-06-11 12:44 pm (UTC)