Commit Graph

36 Commits

Author SHA1 Message Date
lukem
c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00
joerg
cf421e9ff2 Fix and improve mark up. 2009-03-15 16:21:46 +00:00
joerg
c2a53cec5c Fix markup (.I is an unknown macro in this context). 2009-03-09 14:10:12 +00:00
njoly
2cbc1f6d44 Do not overwrite COPTS, but append to it. 2009-02-19 10:33:03 +00:00
apb
296f525d9f When building as a host tool, do not add ${LIBM} to DPADD, but do add
"-lm" to LDADD as usual.  We do assume that the host system has a -lm
library, but we can't assume that the library is in /usr/lib/libm.a.
2008-10-20 18:16:54 +00:00
apb
e0bccb6c18 During the tools build (from src/tools/awk/Makefile),
src/tools/Makefile.host changes .CURDIR back and forth between
src/tools/awk and src/usr.bin/awk.  For some unknown reason, including
bsd.info.mk here leads to the obj dir being created at the wrong time,
while .CURDIR is src/usr.bin/awk.  Work around the problem by not
including bsd.info.mk when MKINFO=no.
2008-10-19 19:42:23 +00:00
gmcgarry
3c9a95916d Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
dholland
2dad86041d Document the values returned by close() and fflush(). PR bin/38132. 2008-05-26 02:07:25 +00:00
mrg
15aa4e8c07 use -Wno-pointer-sign for GCC4. 2006-05-11 01:19:55 +00:00
uebayasi
976fee6969 !' needs an escape sequence (\&'). New sentence, new line.
Reviewed By:	wiz
2005-08-17 00:58:19 +00:00
wiz
2b4f927dff Add article. 2004-06-06 04:04:36 +00:00
jdolecek
2abf86d47c add history section noting nawk is default since 2.0, and bump date 2004-06-05 12:10:08 +00:00
jdolecek
2eb16b781e move the GNU awk-based awk.texi back under src/gnu/dist/gawk/,
it's covered by GNU Documentation Licence and thus shouldn't be mixed
with free code
2004-03-27 11:34:11 +00:00
jdolecek
0f0ea58942 copy over the gawk 3.1.3 info file and g/c the rules to build it from
gawk sources
2004-03-26 16:55:15 +00:00
jdolecek
fad5af1f3b add -DHAS_ISBLANK to CPPFLAGS, so that current nawk would use our isblank(3)
instead of it's own; pointed out by Stefan Kruger in private e-mail

add rules to install the gawk info file too; it's useful to have installed,
and allows nawk to be drop-in replacement without need to adjust file lists
2003-08-03 17:19:45 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
617b132aac Spell output with two ts. 2003-01-04 23:43:02 +00:00
grant
be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
lukem
5d4973fe97 makefile delint. use NETBSDSRCDIR as appropriate 2002-09-18 14:00:33 +00:00
fredb
0a08a9975c Correct a couple of typos. 2002-05-15 19:00:32 +00:00
jmc
1347ab1b90 Remove check for sparc64 which adds -msoft-quad-float as that is now the
default for the compiler on sparc64.
2002-03-28 09:58:09 +00:00
ross
2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz
006bfda652 Drop unnecessary .Pp. 2001-12-01 19:06:43 +00:00
wiz
aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
martin
746fed9089 Add -msoft-quad-float on sparc64 to work around toolchain/kernel fpu
emulation lossage.
This makes awk create proper vi.h and emacs.h files in src/lib/libedit
again.
2001-10-19 04:12:41 +00:00
jdolecek
741de7d25c one more 2001-07-08 20:26:54 +00:00
jdolecek
7053c53e8a document systime(), strftime(), gensub(); for gensub(), note that the \n
sequences supported by GNU awk are not supported yet
xref stuff referenced within manpage in SEE ALSO, add reference to FSF's
"AWK Programming Language"
various other little fixes
2001-02-08 20:54:50 +00:00
jdolecek
efce34814d strftime(), systime() added, gensub() partly done
actually, awk DOES support RSTART and RLENGTH, remove from list of variables
noticed the number of open files is limited to FOPEN_MAX (20), this should
be made dynamic
2001-02-08 20:45:09 +00:00
jdolecek
3cf31f57d4 group all operators to subsection Operators, describe what each
operator does
2001-02-05 19:33:36 +00:00
jdolecek
1acb637946 document supported options better, add a short info about
this awk on start of DESCRIPTION section
2001-02-05 13:23:57 +00:00
jdolecek
d6b3e4b6cb substr(): the argument 'n' is optional, document what happens if it's omitted
fix order of OFS and ORS in variable list
2001-02-04 20:47:50 +00:00
jdolecek
544679615d add a list of things GNU awk has and we probably want to support
this list is probably incomplete; feel free to add more stuff
2001-02-02 21:08:42 +00:00
jdolecek
9d6ab89db5 Do extensive facelift:
* divide text into subsections according to function
* group I/O, math functions together (similarily to how gawk manpage
  is structured) and provide easily parsable
  list, so that it's much easier to find information about individual
  functions
* sort function and variable list by alphabet
2001-01-30 21:05:12 +00:00
jdolecek
f62a886eb7 Conversion of nawk manpage to mdoc format. Put here rather than
to dist/nawk/, since it's not likely mdoc formatted manpage would become
part of nawk distrubution.
Hopefully mdoc macros are used mostly correctly here.
2001-01-30 18:26:30 +00:00
jdolecek
6fa8cb0bb3 use YHEADER instead YFLAGS/CLEANFILES 2001-01-23 22:24:20 +00:00
jdolecek
e87b67b182 Add nawk build glue. It's not enabled for now, gawk is still the default. 2001-01-23 16:25:22 +00:00