termrc checks both (~ $#sysname 0) and (~ $sysname ''). The latter would cover the former, but is not possible for `{} to return a null string in any circumstances, so the check is superfluous. Notes: the current termrc may be excessively cautious, but it works and we've beaten this subject to death. Reference: /n/sources/patch/sorry/termrc-superfluous-sysname-check Date: Tue May 22 20:38:14 CES 2007 Signed-off-by: kmaglione@comcast.net Reviewed-by: geoff --- /rc/bin/termrc Tue May 22 20:36:58 2007 +++ /rc/bin/termrc Tue May 22 20:36:57 2007 @@ -27,7 +27,7 @@ if(! test -e /srv/cs) ndb/cs -f $NDBFILE sysname=`{cat /dev/sysname} -if (~ $#sysname 0 || ~ $sysname '') { +if (~ $#sysname 0) { sysname = gnot # default echo -n $sysname >/dev/sysname }