From owner-svn-src-all@freebsd.org Mon Jul 13 12:07:53 2015 Return-Path: Delivered-To: svn-src-all@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 AEE0D999399; Mon, 13 Jul 2015 12:07:53 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8F44B19D3; Mon, 13 Jul 2015 12:07:53 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6DC7rHx080190; Mon, 13 Jul 2015 12:07:53 GMT (envelope-from brueffer@FreeBSD.org) Received: (from brueffer@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6DC7rGC080188; Mon, 13 Jul 2015 12:07:53 GMT (envelope-from brueffer@FreeBSD.org) Message-Id: <201507131207.t6DC7rGC080188@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brueffer set sender to brueffer@FreeBSD.org using -f From: Christian Brueffer Date: Mon, 13 Jul 2015 12:07:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r285449 - stable/9/share/examples/csh X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2015 12:07:53 -0000 Author: brueffer Date: Mon Jul 13 12:07:52 2015 New Revision: 285449 URL: https://svnweb.freebsd.org/changeset/base/285449 Log: MFC: r284929 Fix issues that kept some of the examples from actually working. PR: 144534 Submitted by: Nicolas Edel Modified: stable/9/share/examples/csh/dot.cshrc Directory Properties: stable/9/share/examples/ (props changed) stable/9/share/examples/csh/ (props changed) Modified: stable/9/share/examples/csh/dot.cshrc ============================================================================== --- stable/9/share/examples/csh/dot.cshrc Mon Jul 13 12:04:40 2015 (r285448) +++ stable/9/share/examples/csh/dot.cshrc Mon Jul 13 12:07:52 2015 (r285449) @@ -9,11 +9,11 @@ # has multiple ssh-agent(1) processes running, this will very likely # set SSH_AUTH_SOCK to point to the wrong file/domain socket. if (${?SSH_AUTH_SOCK} != "1") then - setenv SSH_AUTH_SOCK `sockstat -u | awk '/^${USER}.+ ssh-agent/ { print $6 }' + setenv SSH_AUTH_SOCK `sockstat -u | awk '/^${USER}.+ ssh-agent/ { print $6 }'` endif # Change only root's prompt -if (`id -g` == 0) +if (`id -g` == 0) then set prompt="root@%m# " endif @@ -70,7 +70,7 @@ complete grep 'c/-*A/x:<#_lines_after>/ 'n/-*f/f/' \ 'n/*/f/' complete ifconfig 'p@1@`ifconfig -l`@' \ - 'n/*/(range phase link netmask mtu vlandev vlan metric mediaopt down delete broadcast arp debug)/' + 'n/*/(range phase link netmask mtu vlandev vlan metric mediaopt down delete broadcast arp debug)/' \ 'c/%/j/' \ 'n/*/`ps -ax | awk '"'"'{print $1}'"'"'`/' complete kill 'c/-/S/' 'c/%/j/' 'n/*/`ps -ax | awk '"'"'{print $1}'"'"'`/'