Up to [cvs.NetBSD.org] / src / bin / expr
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.13, Tue Sep 19 17:20:00 2000 UTC (20 years, 2 months ago) by jdolecek
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, matt-nb5-pq3-base, matt-nb5-pq3, localcount-20160914, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, HEAD
Changes since 1.12: +1 -1 lines
reimplement expr using lexical parser generated by yacc highlights: * / is treated correctly depending upon context (addresses PR # 10995) * use 64 bit arithmetic, so expr is able to process integer values from -(2**63) to (2**63 - 1) * checks for integer over- & underflows added * error messages improved, more error checking added add AUTHOR section to manpage add BUGS section, and mention possible drawbacks with other expr implementations XXX the old expr treated empty string in arithmetic expressions as if it was 0 XXX this behaviour has been retained
Revision 1.12 / (download) - annotate - [select for diffs], Fri Jan 14 07:14:41 2000 UTC (20 years, 10 months ago) by mjl
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)
On memory allocation failure, return 3 as per POSIX. (from OpenBSD)
Revision 220.127.116.11 / (download) - annotate - [select for diffs], Mon Dec 27 18:27:00 1999 UTC (20 years, 11 months ago) by wrstuden
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)
Pull up to last week's -current.
Revision 1.11 / (download) - annotate - [select for diffs], Tue Nov 9 15:06:31 1999 UTC (21 years ago) by drochner
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)
Since our gcc doesn't warn about NULL format strings anymore, we can fix the incorrect err(1, "%s", "") et al. Closes PR bin/7592 by cgd.
Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 4 14:11:12 1998 UTC (22 years ago) by christos
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)
cast is*() to unsigned char
Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 28 11:41:48 1998 UTC (22 years, 4 months ago) by mycroft
Changes since 1.8: +5 -10 lines
Diff to previous 1.8 (colored)
Be more retentive about use of NOTREACHED and noreturn.
Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 28 05:15:46 1998 UTC (22 years, 4 months ago) by mycroft
Changes since 1.7: +5 -4 lines
Diff to previous 1.7 (colored)
Revision 1.7 / (download) - annotate - [select for diffs], Mon Jul 27 17:55:17 1998 UTC (22 years, 4 months ago) by mycroft
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)
Slight code reduction.
Revision 1.6 / (download) - annotate - [select for diffs], Mon Jul 27 17:06:48 1998 UTC (22 years, 4 months ago) by mycroft
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jul 20 17:33:00 1997 UTC (23 years, 4 months ago) by christos
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.4: +54 -6 lines
Diff to previous 1.4 (colored)
Fix compiler warnings; add WARNS=1
Revision 18.104.22.168 / (download) - annotate - [select for diffs], Tue Jun 4 20:41:47 1996 UTC (24 years, 5 months ago) by cgd
CVS Tags: netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA
Changes since 1.3: +2 -5 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)
pull up from trunk: >don't spew an error message if setlocale(LC_ALL, ""); fails. This is for >consistency with other programs, and because currently it can never >actually succeeed if LANG is set to something other than "C".
Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 4 20:41:15 1996 UTC (24 years, 5 months ago) by cgd
Changes since 1.3: +2 -5 lines
Diff to previous 1.3 (colored)
don't spew an error message if setlocale(LC_ALL, ""); fails. This is for consistency with other programs, and because currently it can never actually succeeed if LANG is set to something other than "C". Sent in by me in PR 2486, approved by jtc).
Revision 1.3 / (download) - annotate - [select for diffs], Fri Apr 28 23:27:15 1995 UTC (25 years, 7 months ago) by jtc
CVS Tags: netbsd-1-2-base, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Branch point for: netbsd-1-2
Changes since 1.2: +3 -28 lines
Diff to previous 1.2 (colored)
Winning Strategies has placed this code into the Public Domain
Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 21 09:05:40 1995 UTC (25 years, 8 months ago) by cgd
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored)
convert to new RCS id conventions.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 16 00:17:09 1994 UTC (26 years, 4 months ago) by jtc
Re-implemented with a recursive descent parser. Fixed subtle bug wrt. comparing integers when either one hasn't been coersed from a string --- while avoiding an even subtler bug found in GNU expr.
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.