UNIX Humour

Dan Nelson dnelson at allantgroup.com
Wed Sep 17 14:40:31 PDT 2003


Gary W. Swearingen wrote:
> Cy Schubert <Cy.Schubert at komquats.com> writes:
> 
>>jaws # ./lastlog.c
>>./lastlog.c: /TT_DB: is a directory
>>./lastlog.c: old_versions/: is a directory
> 
> We can laugh at an ignorant "expert", but should we not also laugh at
> an OS and/or shell that is just as ignorant?  Or cry?

What?  You mean everybody doesn't put this at the top of their programs?


#if 0 /* Magic self-executing C source code.  Run "sh hello.c"
set -ex
gcc -Wall -O $0 -o ${0%%.c}
exit 0

*/
#endif

#include <stdio.h>
int main(void)
{
     printf ("Hi there\n!");
     return 0;
}


-- 
	Dan Nelson
	dnelson at allantgroup.com




More information about the freebsd-chat mailing list