Re: dd question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2010-12-09 at 22:41 -0500, fred smith wrote:
> On Fri, Dec 10, 2010 at 03:11:25AM +0000, Amadeus W.M. wrote:
> > I have a binary file with data. Each block of 48 bytes is a record. I 

> >cut

> however this is a text file with newlines,... if it has no newlines
> your mileage may vary. in that case you could try some sed or awk
> hacks to insert newlines after each 48 bytes then feed it to cut.

Of course if the *binary* file has a 0x0a in it somewhere you'd be in
deep doodoo. You can't ASS-U-ME anything.  Been there, been bit.

> 
> good luck!
> 
> -- 
> ---- Fred Smith -- fredex@xxxxxxxxxxxxxxxxxxxxxx -----------------------------
>                        I can do all things through Christ 
>                               who strengthens me.
> ------------------------------ Philippians 4:13 -------------------------------


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux