mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 13:56:16 +00:00
1bd330cd81
This commit contains a complete rewrite of find console utility. The goal of it was to make the source code easier to maintain and to add a missing feature (/offline switch). Additional changes: * now the program operates on Unicode strings; * added conutils and shlwapi as program's libraries; * added IDS_INVALID_SWITCH string into resources; * modified IDS_USAGE string to include /offline switch description. https://ss64.com/nt/find.html was used for reference.
18 lines
707 B
Plaintext
18 lines
707 B
Plaintext
/* Translated by Song Fuchang (0xfc) <sfc_0@yahoo.com.cn> */
|
|
|
|
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_USAGE "FIND: 输出某文件中包含指定字符串的所有行。\n\n\
|
|
FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] ""字符串"" [文件...]\n\
|
|
/V 输出不包含该指定字符串的行。\n\
|
|
/C 计算包含该字符串的行数。\n\
|
|
/N 从 1 开始为显示的行编号。\n\
|
|
/I 忽略大小写。\n\
|
|
/OFF[LINE] Do not skip files that have the offline attribute set."
|
|
IDS_NO_SUCH_FILE "FIND: %s: 没有这个文件\n"
|
|
IDS_CANNOT_OPEN "FIND: %s: 无法打开文件\n"
|
|
IDS_INVALID_SWITCH "FIND: Invalid switch\n"
|
|
END
|