missed '-c' (compile only rpn) opt for 'bc'

Asked by jami on 2008-07-28

hallo all, that's all.

i use 'bc -c' since at&t unix rel 3 vers 7 (early '80)
bsd+sunos+solaris at least, also know this option, here an
extract of solaris bc-man pages:
     bc - arbitrary precision arithmetic language

     /usr/bin/bc [-c] [-l] [file...]

     /usr/xpg6/bin/bc [-c] [-l] [file...]
     The following operands are supported:

     -c Compiles only. The output is dc commands(*)
         that are sent to the standard output.

     (*) in reversed polish notation

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Jensen Somers (jsomers) said : #1

Again, can you clarify what you mean by this? Your question/problem is very vague.

I assume you mean that the 'bc' command is missing the '-c' option. But as far as I know the 'bc' command never had a '-c' option and I cannot seem to find any reference to this option on the Internet.

jami (jmsa) said : #2

please re-read my post, i completed it. thanks

Jensen Somers (jsomers) said : #3

As far as I can tell this option was never included in the 'bc' command on Debian and/or Ubuntu.

It might be better if you convert this question into a bug report via the 'Create bug report' link in the right menu bar so the right people can handle this missing feature.

Can you help with this problem?

Provide an answer of your own, or ask jami for more information if necessary.

To post a message you must log in.