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 ) ; } }
|
||||
Reference in new issue
Block a user