a4 plot: ./p1 | dash plot.sh > p1.gif ./p1 | tee p1.out | dash plot.sh > p1.gif ./p2 < p1.out | dash plot.sh > p2.gif dash plot.sh < anydatafile > x.gif --- randomly assigning functions: shuf a5functions.list | head -n 1 shuf a5functions.list | tail -n 1 paste a5functions.list students.list shuf a5functions.list | paste students.list - (cat a5functions.list a5functions.list) | shuf | paste students.list - --- Linux: typedef void (*sighandler_t)(int); sighandler_t signal(int signum, sighandler_t handler); standard C: void ( *signal(int signum, void (*handler)(int)) ) (int); void ( *signal( int signum, void (*handler)(int) ) ) (int); --- 123 * 45 1 2 3 * 4 5 -------------- 15 = 10 + 5 1 5