From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 22:35:37 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C883C16A4CE for ; Sun, 9 Nov 2003 22:35:37 -0800 (PST) Received: from hotmail.com (law11-f29.law11.hotmail.com [64.4.17.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4364443F85 for ; Sun, 9 Nov 2003 22:35:36 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 9 Nov 2003 22:35:36 -0800 Received: from 218.17.188.204 by lw11fd.law11.hotmail.msn.com with HTTP; Mon, 10 Nov 2003 06:35:35 GMT X-Originating-IP: [218.17.188.204] X-Originating-Email: [weiwuzhang@hotmail.com] From: "Zhang Weiwu" To: freebsd-questions@freebsd.org Date: Mon, 10 Nov 2003 14:35:35 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 10 Nov 2003 06:35:36.0123 (UTC) FILETIME=[D94BF0B0:01C3A754] Subject: simpliest way to calculate octal? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2003 06:35:37 -0000 Hello. Pretty newbie question again:) Today I found I cannot calculate what is the octal form of 0xa04e. First I thought xcalc should do the work, but it seems only deal with decimal. I have perl, tcsh, python interprater. It is likely that they are all capable of this kind, but what are the commands for them? What's the most convenient way? _________________________________________________________________ Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn