du (was Re: octal dump)

2008-11-22 Thread Ron Johnson
On 11/22/08 06:14, Girish Kulkarni wrote: [snip] Thanks for the replies Ron, Mike and others. I guess I understand use of od now (although that du puzzle is still with me). From the top of the man page DESCRIPTION: "Summarize disk usage of each FILE, recursively for directories." The 2nd arg

octal dump

2008-11-22 Thread Girish Kulkarni
On Wed, Nov 19, 2008 at 7:32 AM, Ron Johnson wrote: > In my work I collect a lot of data from the serial port, spit out by > other machines. od is VERY useful when I collect data from a new > machine. Are there carriage returns? Are there other strange > characters? After those questions are

Re: octal dump

2008-11-18 Thread Ron Johnson
On 11/18/08 18:44, mike wrote: Ron Johnson wrote: On 11/18/08 05:50, mike wrote: Girish Kulkarni wrote: Hello, I was trying to understand octal dumps today that can be obtained using od. But two questions cropped up: 1. When would an octal dump be useful? Surely not in perusing text

Re: octal dump

2008-11-18 Thread mike
Ron Johnson wrote: On 11/18/08 05:50, mike wrote: Girish Kulkarni wrote: Hello, I was trying to understand octal dumps today that can be obtained using od. But two questions cropped up: 1. When would an octal dump be useful? Surely not in perusing text files?! And when people say they

Re: octal dump

2008-11-18 Thread s. keeling
Girish Kulkarni <[EMAIL PROTECTED]>: > > I was trying to understand octal dumps today that can be obtained > using od. But two questions cropped up: > > 1. When would an octal dump be useful? Surely not in perusing text Sure. ftp any text file from a Windows or Mac u

Re: octal dump

2008-11-18 Thread Ron Johnson
On 11/18/08 05:50, mike wrote: Girish Kulkarni wrote: Hello, I was trying to understand octal dumps today that can be obtained using od. But two questions cropped up: 1. When would an octal dump be useful? Surely not in perusing text files?! And when people say they use octal (or hex

Re: octal dump

2008-11-18 Thread mike
Girish Kulkarni wrote: Hello, I was trying to understand octal dumps today that can be obtained using od. But two questions cropped up: 1. When would an octal dump be useful? Surely not in perusing text files?! And when people say they use octal (or hex) dump to check and edit binary

RE: octal dump

2008-11-17 Thread owens
> > > > Original Message >From: [EMAIL PROTECTED] >To: debian-user@lists.debian.org >Subject: RE: octal dump >Date: Mon, 17 Nov 2008 22:24:49 +0530 > >>Hello, >> >>I was trying to understand octal dumps today that can be obtained >>us

Re: octal dump

2008-11-17 Thread Boyd Stephen Smith Jr.
On Monday 17 November 2008, "Girish Kulkarni" <[EMAIL PROTECTED]> wrote about 'octal dump': >1. When would an octal dump be useful? Surely not in perusing text > files?! And when people say they use octal (or hex) dump to check > and edit binary files, ho

Re: octal dump

2008-11-17 Thread Ron Johnson
On 11/17/08 10:54, Girish Kulkarni wrote: Hello, I was trying to understand octal dumps today that can be obtained using od. But two questions cropped up: 1. When would an octal dump be useful? Surely not in perusing text files?! Nowadays? Hardly ever, if at all. But the PDP-7, which

Re: octal dump

2008-11-17 Thread lee
On Mon, Nov 17, 2008 at 10:24:49PM +0530, Girish Kulkarni wrote: >-Ad'. But I find that the offset of the last line does not match >with the size of the file given by 'du -h'. Why is that? du shows disk usage, which can be different from the size of a file due to the block size of the fi

octal dump

2008-11-17 Thread Girish Kulkarni
Hello, I was trying to understand octal dumps today that can be obtained using od. But two questions cropped up: 1. When would an octal dump be useful? Surely not in perusing text files?! And when people say they use octal (or hex) dump to check and edit binary files, how do they learn