From owner-cvs-bin Sun Aug 27 13:28:15 1995 Return-Path: cvs-bin-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id NAA02754 for cvs-bin-outgoing; Sun, 27 Aug 1995 13:28:15 -0700 Received: (from joerg@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id NAA02737 ; Sun, 27 Aug 1995 13:26:47 -0700 Date: Sun, 27 Aug 1995 13:26:47 -0700 From: Joerg Wunsch Message-Id: <199508272026.NAA02737@freefall.FreeBSD.org> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin/sh Makefile parser.c shell.h Sender: cvs-bin-owner@FreeBSD.org Precedence: bulk joerg 95/08/27 13:26:45 Modified: bin/sh Makefile parser.c shell.h Log: Make the shell handle a null command in a &&/|| sequence correctly. The && and || tokens do also terminate a command, not only the newline. While i was at it, disabled trace code by default, it served no good purpose since it required the use of a debugger anyway to be turned on. Instead, placed a hint in the Makefile on how to turn it on. This makes the shell ~ 10 % faster and ~ 4 KB smaller. :) Pointed out by: jan@physik.TU-Berlin.DE (Jan Riedinger)