File size: 1,177 Bytes
806d4b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

#help_index "Cmd Line (Typically)"

#define FILEMASK_OFF_LIMITS "!*/Misc/PCIDevices.DD*;!*/Misc/Bible.TXT*;"\
        "!*/Books?/*;!*/Sup1/Sup1Words/*;!*/Sup1/Sup1Bin/*;"\
        "!*/Sup1/Sup1Blog/NumBible.TXT*;!*/God/Vocab.DD*"

public I64 F(U8 *needle_str,U8 *fu_flags=NULL)
{//Find text in all text files.
  return Find(needle_str,"/*",fu_flags);
}

public I64 F2(U8 *needle_str,U8 *fu_flags=NULL)
{//Find text in most text files.
  return Find(needle_str,"/*;" FILEMASK_OFF_LIMITS,fu_flags);
}

public I64 R(U8 *needle_str,U8 *replace_text=NULL,U8 *fu_flags="+l-i")
{//Find text and replace in most text files.
  return Find(needle_str,"/*;" FILEMASK_OFF_LIMITS,fu_flags,replace_text);
}

public I64 FD(U8 *needle_str,U8 *fu_flags=NULL)
{//Find text in cur dir text files.
  return Find(needle_str,"*",fu_flags);
}

public I64 FD2(U8 *needle_str,U8 *fu_flags=NULL)
{//Find text in most cur dir text files.
  return Find(needle_str,"*;" FILEMASK_OFF_LIMITS,fu_flags);
}

public I64 RD(U8 *needle_str,U8 *replace_text=NULL,U8 *fu_flags="+l-i")
{//Find text and replace in most cur dir text files.
  return Find(needle_str,"*;" FILEMASK_OFF_LIMITS,fu_flags,replace_text);
}