× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



For a one-timer, piping the ls output to od with the hex option is so easy.


-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Vern Hamberg via MIDRANGE-L
Sent: Wednesday, February 8, 2023 6:30 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Cc: Vern Hamberg <vhamberg@xxxxxxxxxxxxxxx>
Subject: Re: IFS filename as hex?

Hi Justin

Depending on your OS level, you can use the IFS_OBJECT_STATISTICS table
function and put the hex() function around the column that gives you the
name. It's a 7.3 at least, has been around since April, 2020. Run SQL
Statements should have an example, or Scott Forstie's gist, or or or -
lots of Google hits.

You could maybe use ls, as another post suggests, redirecting the output
to a physical file defined only with record length before you run ls.
Then use hex() function, again, on that.

Maybe!!

Vern

On 2/8/2023 9:14 AM, Justin Taylor wrote:
Is there a way to view an IFS filename as hex?

5250 WRKLNK shows a "?" in the filename, but gives "Object not found" when
I try to display the attributes.

Bash shows:
'$'\032''


TIA


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.