tjr
3635de5b6e
Support larger files (at least 64-bit offsets) by using off_t instead of
...
int to store offsets.
2002-07-15 05:31:55 +00:00
jmallett
c492727786
Remove <sys/types> where we use <sys/param> already.
...
protoize.
2002-06-15 11:03:28 +00:00
tjr
287490dff8
Sort sections.
2002-06-03 14:42:28 +00:00
tjr
1a15fcee23
Correct HISTORY section - split(1) appeared at least as early as V3.
2002-06-03 14:41:32 +00:00
ru
7cc3531206
mdoc(7) police: use .Fl to denote stdin.
2002-05-30 06:07:29 +00:00
tjr
c73112a6c7
Claim conformance to IEEE Std 1003.1-2001.
...
See also csplit(1).
2002-05-27 06:08:14 +00:00
tjr
fd517aac90
Allow "-" to be specified as an operand as well as an option.
...
SUSV3 requires something like "split -- -" to work. Document the "-" operand.
2002-05-27 05:27:10 +00:00
tjr
89c62e14bd
Avoid overflowing `fname' if the file name prefix given on the command
...
line is too long.
Obtained from: OpenBSD
2002-05-27 04:59:46 +00:00
imp
0b20191705
remove __P
2002-03-22 01:42:45 +00:00
mike
c48bdad502
Add -a option (SUSv3) to split(1).
...
Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
MFC after: 1 month
2002-02-01 06:55:18 +00:00
markm
e006d8bee0
WARNS=2 fixes, use __FBSDID, remove GCC-specific flags.
2001-12-12 23:09:07 +00:00
dd
91ffaa180c
Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently adds
...
COPTS towards the end of final CFLAGS so that it can be used to
override Makefile and other defaults. Using it in Makefiles risks
having options set using it clobbered when somebody uses it on the
command line.
Approved by: bde
2001-09-05 20:10:59 +00:00
dd
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
ru
0d1334ca0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
jwd
efaee5cdfc
Add/fix the ability to split a file larger than 2 gigabytes.
...
Added $FreeBSD tag (in the way the already present sccsid is
done). I've been told the rcsid stuff may be of dubious value
so I'm curious to know if folks (still) use it.
Submitted by: Brad Chisholm <blc@bsdwins.com>
2000-11-19 01:44:20 +00:00
ben
5eea8e98aa
remove trailing periods from SEE ALSO.
2000-11-15 17:27:54 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
archie
d36f71e280
Print usage via fprintf(stderr, ..) instead of errx() to avoid progname prefix.
...
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
1999-02-05 00:42:14 +00:00
archie
c3eeb08622
Add new option '-p pattern' for splitting files based on matching lines in
...
the file with a regular expression. Useful for e.g. 'cvs diff' output.
Also compile cleanly with -Wall and fix a few style bugs.
PR: bin/9405
1999-02-01 21:16:45 +00:00
charnier
55429790ab
Cosmetic in err() string.
1997-08-11 07:30:22 +00:00
imp
141381e1cb
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
rgrimes
bc359d41a0
This fixes 'split -l NNN foo'. As it stands split will
...
complain about an 'illegal line count' becuase it's looking
at the wrong end pointer (ep) to detect any extra characters
after the NNN.
Submitted by: Rich Murphey <rich@freebsd.org>
This should probably get pulled into 2.0.6 and 2.1.0
1995-07-07 08:23:52 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00