From owner-cvs-src@FreeBSD.ORG Thu Jun 15 07:00:50 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CF1F16A4C1; Thu, 15 Jun 2006 07:00:50 +0000 (UTC) (envelope-from stefanf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5365E43D48; Thu, 15 Jun 2006 07:00:50 +0000 (GMT) (envelope-from stefanf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k5F70oaT001417; Thu, 15 Jun 2006 07:00:50 GMT (envelope-from stefanf@repoman.freebsd.org) Received: (from stefanf@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k5F70oQ6001416; Thu, 15 Jun 2006 07:00:50 GMT (envelope-from stefanf) Message-Id: <200606150700.k5F70oQ6001416@repoman.freebsd.org> From: Stefan Farfeleder Date: Thu, 15 Jun 2006 07:00:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/bin/sh eval.c sh.1 var.c var.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 07:00:50 -0000 stefanf 2006-06-15 07:00:50 UTC FreeBSD src repository Modified files: bin/sh eval.c sh.1 var.c var.h Log: Implement the PS4 variable which is defined by the POSIX User Portability Utilities option. Its value is printed at the beginning of the line if tracing (-x) is active. PS4 defaults to the string "+ " which is compatible with the old behaviour to always print "+ ". We still need to expand variables in PS1, PS2 and PS4. PR: 46441 (part of) Submitted by: schweikh Obtained from: NetBSD Revision Changes Path 1.52 +8 -3 src/bin/sh/eval.c 1.119 +10 -3 src/bin/sh/sh.1 1.32 +3 -0 src/bin/sh/var.c 1.14 +2 -0 src/bin/sh/var.h