Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2015 12:04:41 +0000 (UTC)
From:      Christian Brueffer <brueffer@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r285448 - stable/10/share/examples/csh
Message-ID:  <201507131204.t6DC4f8N079680@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brueffer
Date: Mon Jul 13 12:04:40 2015
New Revision: 285448
URL: https://svnweb.freebsd.org/changeset/base/285448

Log:
  MFC: r284929
  
  Fix issues that kept some of the examples from actually working.
  
  PR:		144534
  Submitted by:	Nicolas Edel
  Approved by:	re (gjb)

Modified:
  stable/10/share/examples/csh/dot.cshrc
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/share/examples/csh/dot.cshrc
==============================================================================
--- stable/10/share/examples/csh/dot.cshrc	Mon Jul 13 11:59:28 2015	(r285447)
+++ stable/10/share/examples/csh/dot.cshrc	Mon Jul 13 12:04:40 2015	(r285448)
@@ -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}'"'"'`/'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507131204.t6DC4f8N079680>