mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-28 08:16:31 +00:00
889d97383d
Fixed PCILookUpSingle code for this change EdCodeTools reindent needs to be updated
36 lines
No EOL
922 B
HolyC
Executable file
36 lines
No EOL
922 B
HolyC
Executable file
//Place this file in /Home and change
|
|
//anything you want.
|
|
|
|
#help_index "Cmd Line (Typically)"
|
|
|
|
//These are customized quick commands.
|
|
//Feel free to add more or change.
|
|
public I64 F(U8 *needle_str,U8 *fu_flags=NULL)
|
|
{//Find text in all text files.
|
|
return Find(needle_str,"/*",fu_flags);
|
|
}
|
|
|
|
public I64 R(U8 *needle_str,U8 *replace_text=NULL,U8 *fu_flags="+l-i")
|
|
{//Find text and replace in all text files.
|
|
return Find(needle_str,"/*",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 RD(U8 *needle_str,U8 *replace_text=NULL,U8 *fu_flags="+l-i")
|
|
{//Find text and replace in cur dir text files.
|
|
return Find(needle_str,"*",fu_flags,replace_text);
|
|
}
|
|
|
|
public U0 Cls()
|
|
{//Clear terminal. Reminiscent of DOS command of same name.
|
|
DocClear;
|
|
}
|
|
|
|
public U0 ZCls()
|
|
{//Clear zenith terminal.
|
|
Zenith("DocClear;\n");
|
|
} |