Commit Graph

26 Commits

Author SHA1 Message Date
andvar 2fa7e14158 fix various typos, mainly in comments, but also log messages, docs, game text. 2022-04-08 10:17:52 +00:00
msaitoh e44b4c4dd0 s/succesful/successful/ in comment. 2021-12-05 08:03:06 +00:00
ginsbach 9b02928106 Minor tweaks to usage:
- Sort options to match pr(1) SYNOPSIS (suggested by wiz)
- Add missing -T timefmt option
2012-08-01 02:27:48 +00:00
ginsbach aa013a1b5e - Fix PR 19468 by adding -f and -p options to pr(1).
Changes adapted from patch by Ryan Younce and FreeBSD.  The provided
  patch was not used directly as the changes didn't mimic the System V
  origins of these options.  System V pr(1) does not pause for empty files.
  These changes follow that precedent.

- Improve man page description of the -i option.
2012-07-24 02:13:04 +00:00
christos daf2e27602 PR/41880: Ralph G. Previous fix for PR/5797 broke since space separator. 2012-03-12 18:06:24 +00:00
joerg e7997c0db8 ANSIfy, static + __dead 2011-09-06 18:26:06 +00:00
lukem e1b4957e7f Fix -Wcast-qual issues 2009-04-13 00:37:05 +00:00
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
lukem 5a1df86c01 Convert to using raise_default_signal(3). 2007-10-14 11:21:32 +00:00
msaitoh 8ce1f4fff2 fix typos 2007-04-29 20:23:34 +00:00
christos cd2ccbaf94 Coverity CID 3212: Don't return, goto out in all cases so that cleanup
happens.
2006-05-24 15:59:06 +00:00
christos a0c086aaf2 Coverity CID 2989: Use the error path to return. 2006-05-01 23:31:10 +00:00
christos df58c5cd15 Coverity CID 1660: Plug memory leaks. 2006-04-02 04:17:08 +00:00
christos 2296939e9c PR/32402: Jeffrey Bedard: pr filter dumps core with -s option specified,
when -s is specified with no argument. Option arguments in pr (as documented)
need to immediately follow the option. For example to set the separator char
to `.' you need to use "pr -s." instread of "pr -s .". The second form sets
the separator character to tab, and reads from file `.'. Coredumping is wrong
anyway, so fix that. Grr to POSIX for not forcing pr and a few other utilities
to use getopt(3).
cvs: ----------------------------------------------------------------------
2005-12-28 21:29:16 +00:00
agc ed6ed8e698 Move Keith Muller's code from a 4-clause to a 3-clause licence by removing
the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed
to the board by Keith Muller.
2003-10-13 07:41:22 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
wiz a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00
kleink 9ff4b1c139 Don't be silly and try to read an strftime() format string from the LC_TIME
environment variable; since there isn't a standard format provided by the
C library that corresponds to pr's default header format, add a new option
'-T' to take a strftime() format string if desired.
2000-10-22 15:06:52 +00:00
simonb fdbafc0681 For the -i option, don't convert a single space before a tab stop to a
tab.  Fixes PR bin/5797 from Todd Vierling.
2000-07-13 02:07:53 +00:00
christos 2136635414 char -> unsigned char 1998-12-19 20:11:20 +00:00
kleink 9629495d5e Need <time.h> for localtime() and strftime() prototypes. 1998-04-02 10:42:51 +00:00
lukem 9b5a69b52c WARNSify, fix .Nm usage, deprecate register 1997-10-19 12:36:23 +00:00
tls 0214c17253 RCS ID police 1997-01-09 15:01:32 +00:00
cgd ed7cdf533b can't assume that timeval.ts_sec is same type as time_t. grr. 1995-06-07 16:09:53 +00:00
cgd 1675d43043 from John F. Woods <jfw@ksr.com>:
don't crap out if -w specified and not in multi-column mode.
my reading of my draft of P.2 indicates that this is allowed, just
ignored...
1994-03-07 05:42:17 +00:00
cgd aa8f4ca3f3 add berkeley pr 1994-01-06 15:57:25 +00:00