From owner-freebsd-questions Thu Feb 14 12:56:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lists.unixathome.org (lists.unixathome.org [210.48.103.158]) by hub.freebsd.org (Postfix) with ESMTP id 4C1D437B400 for ; Thu, 14 Feb 2002 12:56:30 -0800 (PST) Received: from wocker (lists.unixathome.org [210.48.103.158]) by lists.unixathome.org (8.11.6/8.11.6) with ESMTP id g1EKuJk29138; Fri, 15 Feb 2002 09:56:20 +1300 (NZDT) (envelope-from dan@lists.unixathome.org) Message-Id: <200202142056.g1EKuJk29138@lists.unixathome.org> From: "Dan Langille" Organization: DVL Software Limited To: Dan Nelson Date: Thu, 14 Feb 2002 15:56:12 -0500 MIME-Version: 1.0 Subject: Re: crontab entries need a CR/LF at the end Reply-To: dan@langille.org Cc: Matt of the Long Red Hair , questions@FreeBSD.ORG In-reply-to: <20020214204634.GA89093@dan.emsphone.com> References: <200202142026.g1EKQUk28938@lists.unixathome.org> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 14 Feb 2002 at 14:46, Dan Nelson wrote: > In the last episode (Feb 14), Dan Langille said: > > On 14 Feb 2002 at 15:17, Matt of the Long Red Hair wrote: > > > > > I managed to reproduce this user's problem, but I had to work at it. > > > Simply editing the file with a text editor won't do it, since most > > > leave a \n at the end of even the last line. I had to do this: > > > > > > % echo -n "* * * * * ls ~/bin" > crontab > > > % crontab crontab > > > > FWIW, I was using joe > > > > > I'm not sure if this is a bug or not, but his observations are at least > > > valid. It seems bug-like to me, though probably not a very high > > > priority one. > > > > Thank you. And agreed, definintely low-priority. > > You can adjust joe's behaviour by removing the leading space from this line > in your joerc: > > -force Force final newline when files are saved Thanks. But I prefer not to do that. I'd prefer to fix crontab. It breaks POLA. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ - practical examples To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message