aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-19 00:06:19 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-19 00:06:19 +0000
commitdb572620c324c00b284de6f5f7d1cea1e23d1fcc (patch)
tree1975e49034014a49345f12b48ab15374e581ab94
parent4b4fb91fb504202f523ad6532a2073385354564a (diff)
downloadpaludis-db572620c324c00b284de6f5f7d1cea1e23d1fcc.tar.gz
paludis-db572620c324c00b284de6f5f7d1cea1e23d1fcc.tar.xz
Enough of this silliness
-rw-r--r--src/clients/paludis/paludis.cc36
1 files changed, 26 insertions, 10 deletions
diff --git a/src/clients/paludis/paludis.cc b/src/clients/paludis/paludis.cc
index 3718eb1..31014b9 100644
--- a/src/clients/paludis/paludis.cc
+++ b/src/clients/paludis/paludis.cc
@@ -46,6 +46,8 @@
#include <iomanip>
#include <string>
#include <cstdlib>
+#include <algorithm>
+#include <iterator>
#include <time.h>
@@ -242,17 +244,31 @@ main(int argc, char *argv[])
const struct tm * tt(localtime(&t));
if (tt->tm_mday == 1 && tt->tm_mon == 3)
{
+ static const char chk[] = {
+ 0x0a, 0x0a, 0x7c, 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
+ 0x20, 0x20, 0x7c, 0x7c, 0x20, 0x20, 0x20, 0x7c, 0x7c, 0x20, 0x20, 0x20, 0x20,
+ 0x20, 0x7c, 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x0a, 0x7c,
+ 0x20, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x5c,
+ 0x20, 0x5c, 0x20, 0x20, 0x7c, 0x20, 0x77, 0x2d, 0x2d, 0x2d, 0x2d, 0x7c, 0x7c,
+ 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20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, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f,
+ 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x20, 0x0a
+ };
cout << endl;
- cout << " ______________________________" << endl;
- cout << "( Ugh. Another Portage user... )" << endl;
- cout << " ------------------------------ " << endl;
- cout << " o" << endl;
- cout << " o" << endl;
- cout << " ^__^ /" << endl;
- cout << " (" << colour(cl_bold_pink, "oo") << ")\\_______/ _________" << endl;
- cout << " (__)\\ )=( ____|_ \\_____" << endl;
- cout << " ||----w | \\ \\ \\_____ |" << endl;
- cout << " || || || ||" << endl;
+ std::reverse_copy(&chk[0], &chk[sizeof(chk) / sizeof(char)], std::ostreambuf_iterator<char>(std::cout));
cout << endl;
return EXIT_SUCCESS;
}