summaryrefslogtreecommitdiffstats
path: root/tdeprint/descriptions/sortthem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:56:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:56:34 -0600
commitb529f046c9a64ac5fcfa60747af940cf972b3ebc (patch)
tree83c28cf7fa8fed1960ebd3924b579e7ed8c95cc6 /tdeprint/descriptions/sortthem.cpp
parent6508fe4c40c60fd7a43bd3d9e19b762e10ea3f53 (diff)
downloadtdebase-b529f046c9a64ac5fcfa60747af940cf972b3ebc.tar.gz
tdebase-b529f046c9a64ac5fcfa60747af940cf972b3ebc.zip
Actually move the kde files that were renamed in the last commit
Diffstat (limited to 'tdeprint/descriptions/sortthem.cpp')
-rw-r--r--tdeprint/descriptions/sortthem.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/tdeprint/descriptions/sortthem.cpp b/tdeprint/descriptions/sortthem.cpp
new file mode 100644
index 000000000..9adc284b1
--- /dev/null
+++ b/tdeprint/descriptions/sortthem.cpp
@@ -0,0 +1,28 @@
+
+
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <stdlib.h>
+#include <stdio.h>
+
+
+
+int main(int argc, char **argv) {
+TQStringList have;
+char buf[1024];
+
+
+ while (!feof(stdin)) {
+ char *cline = fgets(buf, 1000, stdin);
+ if (!cline) break;
+ if (!have.contains(cline)) {
+ have << cline;
+ fprintf(stdout, "%s", cline);
+ }
+ }
+
+
+return 0;
+}
+
+