mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +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.
15 lines
634 B
Text
15 lines
634 B
Text
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_USAGE "FIND: Prints all lines of a file that contain a string.\n\n\
|
|
FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] ""string"" [file...]\n\
|
|
/V Print lines that do not contain the string.\n\
|
|
/C Count the number of lines that contain the string.\n\
|
|
/N Number the displayed lines, starting at 1.\n\
|
|
/I Ignore case.\n\
|
|
/OFF[LINE] Do not skip files that have the offline attribute set."
|
|
IDS_NO_SUCH_FILE "FIND: %s: No such file\n"
|
|
IDS_CANNOT_OPEN "FIND: %s: Cannot open file\n"
|
|
IDS_INVALID_SWITCH "FIND: Invalid switch\n"
|
|
END
|