Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 6 Mar 2001 13:15:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 6 Mar 2001 13:15:23 -0500 Received: from wire.cadcamlab.org ([156.26.20.181]:12805 "EHLO wire.cadcamlab.org") by vger.kernel.org with ESMTP id ; Tue, 6 Mar 2001 13:15:16 -0500 Date: Tue, 6 Mar 2001 12:15:10 -0600 To: Jeff Coy Cc: linux-kernel Subject: Re: binfmt_script and ^M Message-ID: <20010306121510.A28368@cadcamlab.org> In-Reply-To: <20010305143445.D6400@tenchi.datarithm.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i In-Reply-To: ; from jcoy@klah.net on Tue, Mar 06, 2001 at 08:14:57AM -0700 From: Peter Samuelson Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org [Jeff Coy] > this issue came up frequently with customers uploading scripts in > binary mode trying to run #!/usr/bin/perl^M. The solution for me was > to just do the following: > > cd /usr/bin > sudo ln -s perl^V^M perl So none of your customers tried '#!/usr/bin/perl -w^M'? (Come on, doesn't everyone use -w?) I'm not for treating \r as IFS in the kernel, but the "simple one-time" solution is not perfect.. Peter - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/