mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
* src/Makefile.am (expr_LDADD): Link expr against GNU MP. * doc/coreutils.texi (expr invocation): Describe --bignum, --no-bignum. Explain the new arbitrary-precision functionality. * NEWS: Indicate that arbitrary-precision arithmetic is now supported in expr. * src/expr.c (enum valtype): Added mp_integer, signifying a GNU MP number. (usage): Document the new options --bignum and --no-bignum which force and prohibit the use of arbitrary-precision arithmetic, respectively. (long_options): data structure for getopt_long, which we need to use to parse the options mentioned above. (main): parse these options with getopt_long instead of parse_long_options. (valinfo): Downgrade the numeric member of the union from intmax_t to signed long, since MP lacks functions for promoting an intmax_t to an arbitrary-precision quantity. (enum arithmetic_mode): Represents the current choice between --bignum, --no-bignum and the default (automatically switch from one to the other if needed). (integer_overflow): issue a more explicit error message indicating that MP is not available. (string_too_long): new function, emits a fatal error message for the case where an argument to the 'index' expression is too long for a string offset to be represented. (int_value): With --bignum, create the value as mp_integer rather than plain integer. (substr_value): factored out of eval6; implements "substr". (freev): also destroy mp_integer values. Check that no mp_integer values exist if --no-bignum was specified. (printv, null, tostring): support mp_integer. (toint): new funtion for converting from string or mp_integer to integer. (getsize): extracts a size_t value from a VALUE object; used to implement substr. (promote): promotes a value from integer to mp_integer. (domult, dodivide): functions for multiplication and division, factored out of eval4. (doadd): addition/subraction function, factpred out of eval3. (eval3): support mp_integer types; call doadd. (eval4): support mp_integer types; call domult, dodivide. (eval6): support mp_integer offsets and lengths for "substr" and "index". * TODO: Mention that expr supports arbitrary-precision arithmetic, and suggest that this might also be a good idea for seq. * AUTHORS (expr): Add James Youngman.
109 lines
3.5 KiB
Plaintext
109 lines
3.5 KiB
Plaintext
Here are the names of the programs in this package,
|
|
each followed by the name(s) of its author(s).
|
|
|
|
arch: David MacKenzie, Karel Zak
|
|
base64: Simon Josefsson
|
|
basename: David MacKenzie
|
|
cat: Torbjörn Granlund, Richard M. Stallman
|
|
chcon: Russell Coker, Jim Meyering
|
|
chgrp: David MacKenzie, Jim Meyering
|
|
chmod: David MacKenzie, Jim Meyering
|
|
chown: David MacKenzie, Jim Meyering
|
|
chroot: Roland McGrath
|
|
cksum: Q. Frank Xia
|
|
comm: Richard M. Stallman, David MacKenzie
|
|
cp: Torbjörn Granlund, David MacKenzie, Jim Meyering
|
|
csplit: Stuart Kemp, David MacKenzie
|
|
cut: David M. Ihnat, David MacKenzie, Jim Meyering
|
|
date: David MacKenzie
|
|
dd: Paul Rubin, David MacKenzie, Stuart Kemp
|
|
df: Torbjörn Granlund, David MacKenzie, Paul Eggert
|
|
dir: Richard M. Stallman, David MacKenzie
|
|
dircolors: H. Peter Anvin
|
|
dirname: David MacKenzie, Jim Meyering
|
|
du: Torbjörn Granlund, David MacKenzie, Paul Eggert, Jim Meyering
|
|
echo: Brian Fox, Chet Ramey
|
|
env: Richard Mlynarik, David MacKenzie
|
|
expand: David MacKenzie
|
|
expr: Mike Parker, James Youngman
|
|
factor: Paul Rubin
|
|
false: Jim Meyering
|
|
fmt: Ross Paterson
|
|
fold: David MacKenzie
|
|
ginstall: David MacKenzie
|
|
groups: David MacKenzie, James Youngman
|
|
head: David MacKenzie, Jim Meyering
|
|
hostid: Jim Meyering
|
|
hostname: Jim Meyering
|
|
id: Arnold Robbins, David MacKenzie
|
|
join: Mike Haertel
|
|
kill: Paul Eggert
|
|
link: Michael Stone
|
|
ln: Mike Parker, David MacKenzie
|
|
logname: FIXME: unknown
|
|
ls: Richard M. Stallman, David MacKenzie
|
|
md5sum: Ulrich Drepper, Scott Miller, David Madore
|
|
mkdir: David MacKenzie
|
|
mkfifo: David MacKenzie
|
|
mknod: David MacKenzie
|
|
mktemp: Jim Meyering
|
|
mv: Mike Parker, David MacKenzie, Jim Meyering
|
|
nice: David MacKenzie
|
|
nl: Scott Bartram, David MacKenzie
|
|
nohup: Jim Meyering
|
|
od: Jim Meyering
|
|
paste: David M. Ihnat, David MacKenzie
|
|
pathchk: Paul Eggert, David MacKenzie, Jim Meyering
|
|
pinky: Joseph Arceneaux, David MacKenzie, Kaveh Ghazi
|
|
pr: Pete TerMaat, Roland Huebner
|
|
printenv: David MacKenzie, Richard Mlynarik
|
|
printf: David MacKenzie
|
|
ptx: François Pinard
|
|
pwd: Jim Meyering
|
|
readlink: Dmitry V. Levin
|
|
rm: Paul Rubin, David MacKenzie, Richard M. Stallman, Jim Meyering
|
|
rmdir: David MacKenzie
|
|
runcon: Russell Coker
|
|
seq: Ulrich Drepper
|
|
sha1sum: Ulrich Drepper, Scott Miller, David Madore
|
|
sha224sum: Ulrich Drepper, Scott Miller, David Madore
|
|
sha256sum: Ulrich Drepper, Scott Miller, David Madore
|
|
sha384sum: Ulrich Drepper, Scott Miller, David Madore
|
|
sha512sum: Ulrich Drepper, Scott Miller, David Madore
|
|
shred: Colin Plumb
|
|
shuf: Paul Eggert
|
|
sleep: Jim Meyering, Paul Eggert
|
|
sort: Mike Haertel, Paul Eggert
|
|
split: Torbjörn Granlund, Richard M. Stallman
|
|
stat: Michael Meskes
|
|
stty: David MacKenzie
|
|
su: David MacKenzie
|
|
sum: Kayvan Aghaiepour, David MacKenzie
|
|
sync: Jim Meyering
|
|
tac: Jay Lepreau, David MacKenzie
|
|
tail: Paul Rubin, David MacKenzie, Ian Lance Taylor, Jim Meyering
|
|
tee: Mike Parker, Richard M. Stallman, David MacKenzie
|
|
test: Kevin Braunsdorf, Matthew Bradburn
|
|
timeout: Pádraig Brady
|
|
touch: Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, Randy Smith
|
|
tr: Jim Meyering
|
|
true: Jim Meyering
|
|
truncate: Pádraig Brady
|
|
tsort: Mark Kettenis
|
|
tty: David MacKenzie
|
|
uname: David MacKenzie
|
|
unexpand: David MacKenzie
|
|
uniq: Richard M. Stallman, David MacKenzie
|
|
unlink: Michael Stone
|
|
uptime: Joseph Arceneaux, David MacKenzie, Kaveh Ghazi
|
|
users: Joseph Arceneaux, David MacKenzie
|
|
vdir: Richard M. Stallman, David MacKenzie
|
|
wc: Paul Rubin, David MacKenzie
|
|
who: Joseph Arceneaux, David MacKenzie, Michael Stone
|
|
whoami: Richard Mlynarik
|
|
yes: David MacKenzie
|
|
|
|
;; Local Variables:
|
|
;; coding: utf-8
|
|
;; End:
|