- 论坛徽章:
- 0
|
举个例子:
- $ uname -a
- Linux Masked 2.6.11-1.27_FC3 #1 Tue May 17 20:27:37 EDT 2005 i686 i686 i386 GNU/Linux
- $ gcc -v
- Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs
- Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
- Thread model: posix
- gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
- $ man crypt 2>/dev/null | head -12 | tail -8
- NAME
- crypt - password and data encryption
- SYNOPSIS
- #define _XOPEN_SOURCE
- #include <unistd.h>
- char *crypt(const char *key, const char *salt);
- $ man crypt 2>/dev/null | tail -9 | head -2
- CONFORMING TO
- SVID, X/OPEN, BSD 4.3, POSIX 1003.1-2001
- $
复制代码
不过后面那个 500 倒是多余的,反而容易迷惑人,不如去掉,只剩下
就行了。
[ 本帖最后由 莫愁 于 2006-5-19 09:24 编辑 ] |
|