Mercurial > emacs
comparison lib-src/rcs2log @ 22999:5ec968f5560c
(initialize_fullname): Prefer getent if available.
author | Paul Eggert <eggert@twinsun.com> |
---|---|
date | Tue, 11 Aug 1998 22:11:08 +0000 |
parents | 44e598b69b42 |
children | 335a2045e2a3 |
comparison
equal
deleted
inserted
replaced
22998:0a5f1e713908 | 22999:5ec968f5560c |
---|---|
26 --help Output help. | 26 --help Output help. |
27 --version Output version number. | 27 --version Output version number. |
28 | 28 |
29 Report bugs to <bug-gnu-emacs@prep.ai.mit.edu>.' | 29 Report bugs to <bug-gnu-emacs@prep.ai.mit.edu>.' |
30 | 30 |
31 Id='$Id: rcs2log,v 1.41 1997/05/13 22:44:08 eggert Exp eggert $' | 31 Id='$Id: rcs2log,v 1.42 1997/06/26 01:00:03 eggert Exp eggert $' |
32 | 32 |
33 # Copyright 1992, 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. | 33 # Copyright 1992, 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. |
34 | 34 |
35 # This program is free software; you can redistribute it and/or modify | 35 # This program is free software; you can redistribute it and/or modify |
36 # it under the terms of the GNU General Public License as published by | 36 # it under the terms of the GNU General Public License as published by |
423 } | 423 } |
424 } | 424 } |
425 ' | 425 ' |
426 | 426 |
427 initialize_fullname=` | 427 initialize_fullname=` |
428 ( | 428 { |
429 cat /etc/passwd | 429 (getent passwd $authors) || |
430 for author in $authors | 430 ( |
431 do NIS_PATH= nismatch $author passwd.org_dir | 431 cat /etc/passwd |
432 done | 432 for author in $authors |
433 ypmatch $authors passwd | 433 do NIS_PATH= nismatch $author passwd.org_dir |
434 ) 2>/dev/null | | 434 done |
435 ypmatch $authors passwd | |
436 ) | |
437 } 2>/dev/null | | |
435 $AWK -F: "$awkscript" | 438 $AWK -F: "$awkscript" |
436 `$initialize_fullname | 439 `$initialize_fullname |
437 esac | 440 esac |
438 | 441 |
439 | 442 |