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

Asked by jami

hallo all, that's all.
thanks

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:
---------------------------------
NAME
     bc - arbitrary precision arithmetic language

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

     /usr/xpg6/bin/bc [-c] [-l] [file...]
.......
.......
.......
OPTIONS
     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

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
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.

Revision history for this message
jami (jmsa) said :
#2

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

Revision history for this message
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.