Package: dc
Version: 1.07.1-4
Severity: wishlist

FreeBSD and macOS have a dc implementation written by Gavin Howard which
accepts the -x option for extended register support.  In this mode, if
the character specified for a register is a non-newline whitespace, it
can be followed by text matching the regexp `[a-z][a-z0-9_]*`, which is
assumed to be an extended register name.  This allows for the utility
names more like bc identifiers and therefore a wider variety of
functions.

Would it be possible to add such a mode in dc?  Providing I have the
time, I'm willing to write patches to implement this solution if
upstream or Debian will accept them without a copyright assignment, but
if someone else would prefer to write them, I am of course willing to
let them do so.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.1.3+deb14-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dc depends on:
ii  libc6  2.42-17

dc recommends no packages.

dc suggests no packages.

-- no debconf information

-- 
brian m. carlson (they/them)
Toronto, Ontario, CA

Attachment: signature.asc
Description: PGP signature

Reply via email to