• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Routines for review: Hex <-> String
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Routines for review: Hex <-> String


  • Subject: Re: Routines for review: Hex <-> String
  • From: Axel Luttgens <email@hidden>
  • Date: Sun, 19 Jan 2003 13:03:45 +0100

Paul Skinner wrote:

Has kindly pointed out, off list, that my stringToHex fails with more than 16 characters. Doh!
Sooo...

[snip]

: ( there goes my one-liner.


From another thread on this list:

on HexString2(AString)
text 1 through -3 of (do shell script
"echo '" & AString & "' | hexdump -e '1/1 \"X\"'")
end HexString2

The one-liner way is not gone :-)

I wondered if there could be a better choice for the arguments of hexdump.

Axel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Routines for review: Hex <-> String (From: Paul Skinner <email@hidden>)

  • Prev by Date: Re: AppleScript Studio
  • Next by Date: Re: Need Root Access to etc/rc
  • Previous by thread: Re: Routines for review: Hex <-> String
  • Next by thread: Re: Routines for review: Hex <-> String
  • Index(es):
    • Date
    • Thread