Team Ai
Datasetpublic

hschumann2/TempleOS-Source-Code

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes847downloads
HomeWrappers.txt37 linesDownload Raw Back to AcctExample
1 2#help_index "Cmd Line (Typically)"3 4#define FILEMASK_OFF_LIMITS "!*/Misc/PCIDevices.DD*;!*/Misc/Bible.TXT*;"\5        "!*/Books?/*;!*/Sup1/Sup1Words/*;!*/Sup1/Sup1Bin/*;"\6        "!*/Sup1/Sup1Blog/NumBible.TXT*;!*/God/Vocab.DD*"7 8public I64 F(U8 *needle_str,U8 *fu_flags=NULL)9{//Find text in all text files.10  return Find(needle_str,"/*",fu_flags);11}12 13public I64 F2(U8 *needle_str,U8 *fu_flags=NULL)14{//Find text in most text files.15  return Find(needle_str,"/*;" FILEMASK_OFF_LIMITS,fu_flags);16}17 18public I64 R(U8 *needle_str,U8 *replace_text=NULL,U8 *fu_flags="+l-i")19{//Find text and replace in most text files.20  return Find(needle_str,"/*;" FILEMASK_OFF_LIMITS,fu_flags,replace_text);21}22 23public I64 FD(U8 *needle_str,U8 *fu_flags=NULL)24{//Find text in cur dir text files.25  return Find(needle_str,"*",fu_flags);26}27 28public I64 FD2(U8 *needle_str,U8 *fu_flags=NULL)29{//Find text in most cur dir text files.30  return Find(needle_str,"*;" FILEMASK_OFF_LIMITS,fu_flags);31}32 33public I64 RD(U8 *needle_str,U8 *replace_text=NULL,U8 *fu_flags="+l-i")34{//Find text and replace in most cur dir text files.35  return Find(needle_str,"*;" FILEMASK_OFF_LIMITS,fu_flags,replace_text);36}37