2020-02-15 20:01:48 +00:00
|
|
|
//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.
|
2020-04-11 23:19:38 +01:00
|
|
|
public I64 F(U8 *needle_str, U8 *fu_flags = NULL)
|
2020-02-15 20:01:48 +00:00
|
|
|
{//Find text in all text files.
|
2020-04-11 23:19:38 +01:00
|
|
|
return Find(needle_str, "/*", fu_flags);
|
2020-02-15 20:01:48 +00:00
|
|
|
}
|
|
|
|
|
2020-04-11 23:19:38 +01:00
|
|
|
public I64 R(U8 *needle_str, U8 *replace_text = NULL, U8 *fu_flags = "+l-i")
|
2020-02-15 20:01:48 +00:00
|
|
|
{//Find text and replace in all text files.
|
2020-04-11 23:19:38 +01:00
|
|
|
return Find(needle_str, "/*", fu_flags, replace_text);
|
2020-02-15 20:01:48 +00:00
|
|
|
}
|
|
|
|
|
2020-04-11 23:19:38 +01:00
|
|
|
public I64 FD(U8 *needle_str, U8 *fu_flags = NULL)
|
2020-02-15 20:01:48 +00:00
|
|
|
{//Find text in cur dir text files.
|
2020-04-11 23:19:38 +01:00
|
|
|
return Find(needle_str, "*", fu_flags);
|
2020-02-15 20:01:48 +00:00
|
|
|
}
|
|
|
|
|
2020-04-11 23:19:38 +01:00
|
|
|
public I64 RD(U8 *needle_str, U8 *replace_text = NULL, U8 *fu_flags = "+l-i")
|
2020-02-15 20:01:48 +00:00
|
|
|
{//Find text and replace in cur dir text files.
|
2020-04-11 23:19:38 +01:00
|
|
|
return Find(needle_str, "*", fu_flags, replace_text);
|
2020-02-15 20:01:48 +00:00
|
|
|
}
|
2020-02-15 20:24:48 +00:00
|
|
|
|
|
|
|
public U0 Cls()
|
|
|
|
{//Clear terminal. Reminiscent of DOS command of same name.
|
2020-02-20 23:40:10 +00:00
|
|
|
DocClear;
|
2020-02-15 20:24:48 +00:00
|
|
|
}
|
2020-02-16 07:54:22 +00:00
|
|
|
|
2021-07-06 21:15:26 +01:00
|
|
|
public U0 SysCls()
|
2021-07-02 06:04:42 +01:00
|
|
|
{//Clear System terminal.
|
2021-07-02 00:53:42 +01:00
|
|
|
Sys("DocClear;\n");
|
2020-02-16 07:54:22 +00:00
|
|
|
}
|