Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jul 2000 12:23:17 -0400
From:      Boucher Eric <eric.boucher24@sympatico.ca>
To:        FreeBSD <freebsd-questions@FreeBSD.org>
Subject:   Question about ls -b
Message-ID:  <396603F5.577B50B2@sympatico.ca>

next in thread | raw e-mail | index | archive | help
Hi,

I wanted to know something about the command :     ls -b

It is suppose to show the non printable character in the form   /ddd
in hexadecimal.

But doesn't seem to put the exact value by converting the hexadecimal
number to the

ASCII code. For example, if a name of one of my file contains the ASCII
character 130, when I type the ls -b command, the output show me :
/202 , which is the number 516, not 130  (maybe it's not the exact
number, but it's close to it, I do it by memory, it's only to show that
it's not the correct number.)

I can I do to know, from the hexadecimal number to which number it is
reliated in the ASCII character?

Thanks




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?396603F5.577B50B2>