Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: What is the function that does the following..?

by ssandv (Hermit)
on Apr 15, 2010 at 21:02 UTC ( [id://834975]=note: print w/replies, xml ) Need Help??


in reply to What is the function that does the following..?

If you're on Linux, the od utility can be quite handy for such things.

Replies are listed 'Best First'.
Re^2: What is the function that does the following..?
by Khen1950fx (Canon) on Apr 16, 2010 at 00:38 UTC
    Just out of curiosity, I tried the Linux od utility and the ppt od utility. I created a file called "text":
    Some random text.\nMore\nEven More\n
    Then for the Linux utility:
    od -N 36 -c /root/Desktop/text
    Then for the ppt version of od:
    /usr/local/ppt/bin/od -c /root/Desktop/text
    The Linux od let me control the number of bytes that were dumped; however, with the ppt od, there is no -N option.
Re^2: What is the function that does the following..?
by ttlgreen (Sexton) on Apr 16, 2010 at 19:48 UTC

    Thanks for all the help everyone! With this od utility and a better regex I was able to cobble together a solution. Sorry I only have 4 votes to give ;)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://834975]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2026-02-07 22:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.