summaryrefslogtreecommitdiffstats
path: root/usr.bin/pr/pr.c
Commit message (Collapse)AuthorAgeFilesLines
* ANSIify function definitions.dwmalone2002-09-041-7/+7
| | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5
* Modernise this code by rounding up the usual suspects: register keyword,markm2002-06-211-107/+71
| | | | | | consts, ANSIfication of functions, proper use of __FBSDID() and so on. This commit is non-functional from a code-execution perspective, but pr(1) now compiles WARNS=6 clean.
* Don't convert a single space before a tab stop into a tab when thetjr2002-06-191-2/+2
| | | | -i option is used.
* Add P1003.1-2001 -f and -p options.jmallett2002-03-311-2/+41
| | | | | | | PR: standards/36243 Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> Reviewed by: mike MFC after: 2 weeks
* Ensure err is a useful value to prevent using fputs() with a NULL stream.jedgar2002-02-171-0/+1
| | | | MFC after: 1 week
* Use nl_langinfo instead of %Efache2001-03-211-1/+5
|
* Fix typo: seperate -> separate.asmodai2001-02-061-1/+1
| | | | Seperate does not exist in the english language.
* The -s option was broken (missing braces around an else clause).kris1999-12-041-5/+7
| | | | | Noticed by: Thomas Stromberg <tstromberg@rtci.com> Obtained from: OpenBSD
* Change meaning of newly introduced -L option - it helps lpr laterache1999-11-301-7/+6
|
* Localize itache1999-11-301-11/+21
|
* Don't assume that time_t is long.bde1998-06-291-3/+7
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Fixes:scrappy1996-10-221-5/+12
| | | | | | | | | | When you ask pr to use form feeds at the end of pages and specify a page length and tell pr to not put the fancy headers and footers on each pages, then pr will not separate the pages with a form feed. Closes PR: bin/1237 Submitted by: Warner Losh <imp@village.org>
* Remove wrong LC_TIME env. usageache1995-10-241-2/+1
|
* Remove trailing whitespace.rgrimes1995-05-301-8/+8
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+1804
OpenPOWER on IntegriCloud