projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
811f48b
)
print machine!name, not (machine) name
author
Michael Toy
<toy@ucbvax.Berkeley.EDU>
Thu, 12 Mar 1981 10:49:31 +0000
(
02:49
-0800)
committer
Michael Toy
<toy@ucbvax.Berkeley.EDU>
Thu, 12 Mar 1981 10:49:31 +0000
(
02:49
-0800)
SCCS-vsn: usr.bin/who/who.c 4.3
usr/src/usr.bin/who/who.c
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/usr.bin/who/who.c
b/usr/src/usr.bin/who/who.c
index
4d65cc2
..
cb097f2
100644
(file)
--- a/
usr/src/usr.bin/who/who.c
+++ b/
usr/src/usr.bin/who/who.c
@@
-1,4
+1,4
@@
-static char *sccsid = "@(#)who.c 4.
2
(Berkeley) %G%";
+static char *sccsid = "@(#)who.c 4.
3
(Berkeley) %G%";
/*
* who
*/
/*
* who
*/
@@
-50,9
+50,7
@@
char **argv;
static char myname[]=sysname;
if (strcmp(utmp.ut_line, tp))
continue;
static char myname[]=sysname;
if (strcmp(utmp.ut_line, tp))
continue;
- if (islower(*myname))
- *myname = toupper(*myname);
- printf("(%s) ",myname);
+ printf("%s!",myname);
putline();
exit(0);
}
putline();
exit(0);
}