Move 1988-2004 entries into subdirs
We we move 1988-2004 entries from all of a year's winning entries in a single directory to each winner being in their own sub-directory under the given year directory.
This commit is contained in:
1 parent
1e82e8aa3e
commit
d2a42f42e8
478 files changed
No files matched your search
@@ -0,0 +1,18 @@
|
||||
#include <stdio.h>
|
||||
#define PO(o,t)\
|
||||
(((o>64)&&(o<91))?(((t>96)&&(t<123))?(t-32):(t)):(((t>64)&&(t<91))?(t+32):(t)))
|
||||
|
||||
void main() { char *poo= "poot",
|
||||
*Poo="pootpoot" ,O[9];int o,t,T,p;(t=p =0)||(*O='\0');while
|
||||
((o= getc( stdin ))!=( EOF))if ((p== 0)&& (((o>64 )&& (
|
||||
o<91 )) || ((o> 96 ) &&(o< 123) ))) (
|
||||
t!=8 )&&(O [t]= o)&& (O[++ t] = '\0')
|
||||
;else {if (t>7) {for (T = 0 ; T <=7; T++ )
|
||||
printf("%c", PO(*( O+T), *(Poo+ T))); printf
|
||||
("%c", o);}else if (t>3){for (T =0;T<=
|
||||
3;T++) printf
|
||||
("%c", PO(*(O
|
||||
+T),*( poo+T)
|
||||
|
||||
) ) ; printf( "%c" , o ) ; } else printf ( "%s%c" , O , o ) ; ( t = 0 ) || (
|
||||
* O = '\0' ) ; ( o == 60 ) && ( ++p ) ; ( o == 62 ) && (p!=0) && ( --p ) ; } }
|
||||
@@ -0,0 +1,83 @@
|
||||
Best Utility:
|
||||
|
||||
David Lowe
|
||||
Pootpoot
|
||||
67-D Manchester Street
|
||||
San Francisco, CA 94110
|
||||
USA
|
||||
|
||||
http://pootpoot.com/
|
||||
|
||||
|
||||
Judges' Comments:
|
||||
|
||||
To build:
|
||||
|
||||
make dlowe
|
||||
|
||||
To use:
|
||||
|
||||
./dlowe < anyfile > pootfile
|
||||
|
||||
Why is this entry would be considered a utility? Well because it
|
||||
is able to convert content-free web pages into useful web pages.
|
||||
|
||||
To see why, try using an online version, modified for use as
|
||||
a CGI program:
|
||||
|
||||
http://pootpoot.com/poot/pootify?URL=http%3A%2F%2Fwww.microsoft.com
|
||||
|
||||
We are sure that you will find that new web page to make a much
|
||||
more consistent level of quality. :-)
|
||||
|
||||
A CGI script such as:
|
||||
|
||||
#!/bin/sh
|
||||
# pootify - a sample CGI pootifier
|
||||
#
|
||||
POOT="/usr/local/bin/dlowe"
|
||||
LYNX="/usr/local/bin/lynx"
|
||||
ECHO="/usr/bin/echo"
|
||||
EXPR="/usr/bin/expr"
|
||||
${ECHO} "Content-type: text/html"
|
||||
${ECHO}
|
||||
if [ -z "${QUERY_STRING}" ]; then
|
||||
${ECHO} "QUERY_STRING not found"
|
||||
else
|
||||
URL=`${EXPR} "$QUERY_STRING" : '[Uu][Rr][Ll]=\(.*\)'`
|
||||
if [ -z "${URL}" ]; then
|
||||
${ECHO} "No URL given in QUERY_STRING"
|
||||
elif [ X`${EXPR} "${URL}" : '[Ff][Ii][Ll][Ee]:'` != X0 ]; then
|
||||
${ECHO} "file: based URLs are not allowed"
|
||||
else
|
||||
${LYNX} -restrictions=all -source "${URL}" | ${POOT}
|
||||
fi
|
||||
fi
|
||||
|
||||
can be used to pootify web pages.
|
||||
|
||||
For further information see:
|
||||
|
||||
http://pootpoot.com/poot/pootify?URL=http%3A%2F%2Fwww.ioccc.org
|
||||
|
||||
NOTE: The original entry was just a text based pootifier. To build
|
||||
that version try:
|
||||
|
||||
make dlowe.orig
|
||||
./dlowe.orig < anyfile > pootfile
|
||||
|
||||
|
||||
Selected Author's Comments:
|
||||
|
||||
This program is a text filter, it reads stdin and outputs the
|
||||
"corrected" text to stdout.
|
||||
|
||||
It is obfuscated in that the code is painful to look at and
|
||||
its purpose and mode of operation are not terribly obvious.
|
||||
More importantly, it is a tool for further obfuscation, in that it
|
||||
can take any text and render it unintelligible.
|
||||
|
||||
Suggested uses: add to your MANROFFSEQ environment variable for man page
|
||||
enjoyment; use it to turn the GPL into the PPL; see what happens when you
|
||||
run perl4 programs after they've been run through it; "encrypt" sensitive
|
||||
(but unnecessary) documents...
|
||||
@@ -0,0 +1,18 @@
|
||||
#include <stdio.h>
|
||||
#define PO(o,t)\
|
||||
(((o>64)&&(o<91))?(((t>96)&&(t<123))?(t-32):(t)):(((t>64)&&(t<91))?(t+32):(t)))
|
||||
|
||||
void main() { char *poo="poot",
|
||||
*Poo="pootpoot" ,O[9],o;int t, T;(t=0)|| (*O='\0');while(
|
||||
(o= getc( stdin ))!=( EOF))if (((o> 64)&&
|
||||
(o< 91)) ||(( o>96 )&&(o <123 ))) (
|
||||
t!=8 )&&(O [t]= o)&& (O[++ t] = '\0')
|
||||
;else {if (t>7) {for (T = 0 ; T <=7; T++ )
|
||||
printf("%c", PO(*( O+T), *(Poo+ T))); printf
|
||||
("%c", o);}else if (t>3){for (T =0;T<=
|
||||
3;T++) printf
|
||||
("%c", PO(*(O
|
||||
+T),*( poo+T)
|
||||
|
||||
) ); printf( "%c", o ) ; } else printf("%s%c", O, o); ( t =0) || (*O='\0'); } }
|
||||
|
||||
Reference in new issue
Block a user