jmallett
16205ab147
Remove duplicate __FBSDID() - spotted by trying to build with a non-GNU
...
compiler.
2002-07-23 14:39:20 +00:00
obrien
3cb8dae44d
Consistently use FBSDID
2002-06-30 05:25:07 +00:00
jmallett
110dcc0dbb
Note that this appeared at least as early as PWB UNIX.
...
Use the literal string 'PWB UNIX', as we still have no .At macro for it.
2002-06-10 22:59:59 +00:00
markm
c0713d5046
Fix VCS tags; ANSIfy functions
2002-04-28 13:50:54 +00:00
dwmalone
0772318fc3
1) Staticise.
...
2) Remove registers.
3) Change some ints to size_t which are used with fread/fwrite.
2002-03-30 17:17:26 +00:00
imp
0338ac6a1a
remove __P
2002-03-22 01:22:50 +00:00
ru
11e8c90d58
mdoc(7) police: pedantry.
2002-03-15 15:28:12 +00:00
dwmalone
7b84176ced
Make usage message and man page synopsis reflect the fact that -n
...
and -c are mutually exclusive.
PR: 34233
Submitted by: Gary W. Swearingen <swear@blarg.net>
MFC after: 3 days
2002-01-24 22:27:50 +00:00
alfred
e4c6c1e11c
In order to perform faster when doing "head -n", use a pair of
...
fgetln/fwrite instead of getc/putchar, this seems about five times
faster.
2001-11-02 09:27:16 +00:00
alfred
e3aa3637c9
change a global into a local, misc style fixes
2001-11-02 09:21:11 +00:00
ru
e6bcd7b5b8
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
dd
7d1013753f
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
ru
ecbb298b07
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
ru
128310ec7a
mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.
2001-02-13 09:56:35 +00:00
ru
0957874304
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
peter
e4b04a2b21
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
nik
7e91e73b9f
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:24:20 +00:00
des
3acf2ed285
fread() returns 0 on eof or error, not EOF. This fixes the following
...
bug:
"head -c <n>" never exit and loops forever (until it is killed),
if the input stream has fewer bytes than specified (n).
PR: bin/8225
Submitted-by: FUJIMOTO Kensaku <fujimoto@oscar.elec.waseda.ac.jp>
1998-10-09 10:33:46 +00:00
charnier
7e9d4b0063
Setting eval to 1 after calling warn was the original behaviour.
1997-07-11 06:13:18 +00:00
charnier
f9a9733f4b
Use err(3) instead of local redefinition.
1997-07-10 06:46:13 +00:00
alex
bfe71b6135
Support for -c, byte count.
1997-04-06 00:54:27 +00:00
imp
cd84ece5fd
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
peter
cf1e7e3f26
Merge from Lite2
1997-03-11 13:43:33 +00:00
wosch
efb6bed393
first check the count and then get
...
the next line of characters and not cause it to first get
the characters even if the count (cnt) has become 0.
Submitted by: R Bezuidenhout <rbezuide@mikom.csir.co.za>
1996-02-26 22:46:36 +00:00
joerg
6a34ed35b1
head(1) ignored EOFs (in certain cases).
...
Closes PR # bin/678: head(1) ignore EOF
Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-08-15 19:34:11 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00