Make names less confusing
Logfiles to see: logs/ Loggers executables: util/exec/ Loggers source code: util/loggersrc/ Maybe I will merge exec with loggersrc in the near future, in case it's very complicated for users.
This commit is contained in:
parent
096cf0fa78
commit
cdc44e8c7c
8 changed files with 31 additions and 2 deletions
29
util/loggersrc/.clearlogs.cpp
Normal file
29
util/loggersrc/.clearlogs.cpp
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
/*
|
||||||
|
shellnotes - clearlogs.cpp
|
||||||
|
(C) Dimitris Marakomihelakis
|
||||||
|
Released under the "All rights reserved" category. See the RIGHTS.txt file
|
||||||
|
in /docs/github/ for its full text.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
#include <fstream>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
int main ()
|
||||||
|
{
|
||||||
|
std::ofstream ofs;
|
||||||
|
ofs.open("../../logs/sdfailed.txt", std::ofstream::out | std::ofstream::trunc);
|
||||||
|
ofs.close();
|
||||||
|
ofs.open("../../logs/ufailed.txt", std::ofstream::out | std::ofstream::trunc);
|
||||||
|
ofs.close();
|
||||||
|
ofs.open("../../logs/ifailed.txt", std::ofstream::out | std::ofstream::trunc);
|
||||||
|
ofs.close();
|
||||||
|
ofs.open("../../logs/enfailed.txt", std::ofstream::out | std::ofstream::trunc);
|
||||||
|
ofs.close();
|
||||||
|
ofs.open("../../logs/disfailed.txt", std::ofstream::out | std::ofstream::trunc);
|
||||||
|
ofs.close();
|
||||||
|
ofs.open("../../logs/uninfailed.txt", std::ofstream::out | std::ofstream::trunc);
|
||||||
|
ofs.close();
|
||||||
|
}
|
|
@ -19,7 +19,7 @@ function quickread() {
|
||||||
else
|
else
|
||||||
clear
|
clear
|
||||||
echo "No such note."
|
echo "No such note."
|
||||||
cd ~
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $DIR
|
cd $DIR
|
||||||
}
|
}
|
Loading…
Reference in a new issue