2012-02-16 Have you ever used cplit(1)? Probably not, though it's part of POSIX. Today, I used it to proposed a solution to a problem in the German Debian forum: [0] csplit foo '/Inbox Message (Unread)/' '{*}' Read the thread to see an awk solution, too. At university, Jan Siersch and Alexander Boger showed C code like this one: #include int inc(void) { static int n = 0; return n++; } int main() { int i; for (i=0; i<10; i++) { printf("%d\n", (*********&**&****&***&**&****inc)()); } return 0; } Simply nice! :-) [0] http://debianforum.de/forum/viewtopic.php?f=34&t=134595 http://marmaro.de/lue/ markus schnalke