From owner-freebsd-doc@freebsd.org Sat Jul 4 16:32:42 2015 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8710692FE for ; Sat, 4 Jul 2015 16:32:42 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: from mail-qk0-f176.google.com (mail-qk0-f176.google.com [209.85.220.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4911A1C39 for ; Sat, 4 Jul 2015 16:32:41 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: by qkeo142 with SMTP id o142so90986447qke.1 for ; Sat, 04 Jul 2015 09:32:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=YBG0LRYFWZZd4EanLF0EdHaBU74Jy+eMBTxzY3fIIy4=; b=SNQMxsrXUZvbeZRLsA/JRZooi/Lva7poGFmauE/xoYZ0BF4Mj0Jq5dK3mw8JduZpPT JwI1Oh/slFx4l2J4YQC1YO+QNV+M7maa5ThvBcEtcCkX1Tj9pEgP1XiAGH2yEH4CEJlH 5Av/m5ScZQ6l3GYKZUhHpcSziI5mtNlqvOZDS+W30o2z5lFUZFCNQ+OFL41tAwJ9TbcC TYJoTTcikm0wLutkeWOQ8DQ5El7qbDnjVZ9Xa/+sCLM7SxZCCQHNEJgq3dCTJtUl+HWf AbJTDggOSWlrTPlA3TfCbxnEc7sii1ykjTBFW1GoYr/Qo2exyU22hQT6/jLYHZlzQ1aR F1QQ== X-Gm-Message-State: ALoCoQnJiM0eR3+mhYb6irj6w/H3PUGjgHapPo8YoMpJyyCq8ZqyG72WB6RSsAb9d17eXP2QWIRo MIME-Version: 1.0 X-Received: by 10.140.31.74 with SMTP id e68mr35615597qge.95.1436027555439; Sat, 04 Jul 2015 09:32:35 -0700 (PDT) Received: by 10.96.224.130 with HTTP; Sat, 4 Jul 2015 09:32:35 -0700 (PDT) In-Reply-To: References: Date: Sat, 4 Jul 2015 09:32:35 -0700 Message-ID: Subject: Re: freebsd-doc Digest, Vol 639, Issue 5 From: Lee Brown To: freebsd-doc@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2015 16:32:42 -0000 On Sat, Jul 4, 2015 at 5:00 AM, wrote: > Send freebsd-doc mailing list submissions to > freebsd-doc@freebsd.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freebsd.org/mailman/listinfo/freebsd-doc > or, via email, send a message with subject or body 'help' to > freebsd-doc-request@freebsd.org > > You can reach the person managing the list at > freebsd-doc-owner@freebsd.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of freebsd-doc digest..." > > > Today's Topics: > > 1. [Bug 201303] c99(1) still says it's a wrapper around GCC > (bugzilla-noreply@freebsd.org) > 2. sh(1) man page suggestion: prompt string syntax (Mike Brown) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 03 Jul 2015 12:11:08 +0000 > From: bugzilla-noreply@freebsd.org > To: freebsd-doc@FreeBSD.org > Subject: [Bug 201303] c99(1) still says it's a wrapper around GCC > Message-ID: > Content-Type: text/plain; charset="UTF-8" > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201303 > > Bug ID: 201303 > Summary: c99(1) still says it's a wrapper around GCC > Product: Documentation > Version: Latest > Hardware: Any > OS: Any > Status: New > Severity: Affects Only Me > Priority: --- > Component: Documentation > Assignee: freebsd-doc@FreeBSD.org > Reporter: bruce.cran@gmail.com > > In the STANDARDS section of c99(1), it says: > > "The c99 utility interface conforms to IEEE Std 1003.1-2001 (``POSIX.1''). > Since it is a wrapper around GCC, it is limited to the C99 features that GCC > actually implements. See http://gcc.gnu.org/gcc-4.2/c99status.html." > > Since the project has switched from gcc to clang, that's no longer correct. > > -- > You are receiving this mail because: > You are the assignee for the bug. > > > ------------------------------ > > Message: 2 > Date: Fri, 3 Jul 2015 23:37:17 -0600 > From: Mike Brown > To: freebsd-doc@freebsd.org > Subject: sh(1) man page suggestion: prompt string syntax > Message-ID: <20150704053717.GA21782@chilled.skew.org> > Content-Type: text/plain; charset=us-ascii > > I was having trouble finding out what escape codes are valid in an sh(1) > prompt. The man page does not say, so I looked at /usr/src/bin/sh/parser.c and > determined what the options are. Please consider adding this info to the man > page, /usr/src/bin/sh/sh.1 : > > > A prompt string must be less than 128 characters. All characters are output > verbatim, except these sequences: > > '$' is replaced with '#' if the user is root. > '\h' is replaced with the local hostname. > '\H' is replaced with the fully-qualified hostname. > '\W' is replaced with the working directory. > '\w' is replaced with the full path of the working directory. > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > freebsd-doc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-doc > To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org" > > ------------------------------ > > End of freebsd-doc Digest, Vol 639, Issue 5 > ******************************************* It's there (please excuse the ugly regexp): # man sh | grep "\\\\\(H\|h\|w\|W\\|\\$\)" \H The local hostname. \h The fully-qualified hostname. \W The final component of the current working directory. \w The entire path of the current working directory. \$ Superuser status. ``$ '' for normal users and ``# '' # uname -a FreeBSD dc 10.1-RELEASE-p3 FreeBSD 10.1-RELEASE-p3 #4: Sat Jan 10 19:15:42 UTC 2015 root@:/usr/obj/usr/src/sys/GENERIC amd64