#! (sharp-bang)
A tiny C program to avoid some problems with the way Unix is handling #! in script, by Aubrey Jaffer. Here is the (obfuscated) code: char* g(s,t) char * s ; char*t ;{int l = strlen (s);s =realloc(s,l+strlen(t)+1); strcat (s +l ,t ); return s ; } main (c,v) int c ;char **v;{ int j=1;char*m=calloc(j,j) ;for( ;j
Fri Sep 8 19:39:40 2006 - permalink -
-
http://swiss.csail.mit.edu/~jaffer/Docupage/sharpbang.html