From owner-freebsd-hackers Fri Mar 28 03:12:24 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA04739 for hackers-outgoing; Fri, 28 Mar 1997 03:12:24 -0800 (PST) Received: from ami.tom.computerworks.net (root@AMI.RES.CMU.EDU [128.2.95.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id DAA04734 for ; Fri, 28 Mar 1997 03:12:22 -0800 (PST) Received: from bonkers.taronga.com by ami.tom.computerworks.net with smtp (Smail3.1.29.1 #1) id m0wAZZi-0021WdC; Fri, 28 Mar 97 06:12 EST Received: (from peter@localhost) by bonkers.taronga.com (8.6.11/8.6.9) id FAA02883; Fri, 28 Mar 1997 05:13:39 -0600 Date: Fri, 28 Mar 1997 05:13:39 -0600 From: peter@taronga.com (Peter da Silva) Message-Id: <199703281113.FAA02883@bonkers.taronga.com> To: hackers@freebsd.org Subject: Re: Java binary support in FreeBSD ... Newsgroups: taronga.freebsd.hackers In-Reply-To: References: <13303.857054625@time.cdrom.com> <199702271553.KAA01146@dyson.iquest.net>,<199702271553.KAA01146@dyson.iquest.net> Organization: none Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article you write: >Geeze, why didn't they implement a ``script is on fd 0'' feature. Good idea, but how about making it fd3 so you can still use it as a filter? (in Version 6 all scripts were run from fd0 and you couldn't pipe to them. it reeked) You could always brand Java scripts by prepending them with: #!/usr/local/bin/javakludge Then have javakludge do a "dd" to strip off the header and put the rest in a tempfile, then pass the rest to java.