[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: md5 checksum of a img file, or get the value of 100th byte
From: |
Ted Zlatanov |
Subject: |
Re: md5 checksum of a img file, or get the value of 100th byte |
Date: |
Mon, 09 Jun 2008 10:15:53 -0500 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) |
On Sat, 07 Jun 2008 10:03:26 +1000 Tim X <timx@nospam.dev.null> wrote:
TX> editing of 1Gb files isn't as odd a requirement as it use to
TX> be. However, the extent to which you need an editor like emacs to do
TX> this is probably still questionable. My experience is that utilities
TX> like sed, awk, perl and other scripting languages can probably
TX> handle most cases. Unfortunately, it is becoming rare that people
TX> even seem to know about things like sed/awk and therefore turn to
TX> something like emacs or vi to solve heir problem.
I'm comfortable with Perl and I've used it for many such tasks. It's
sort of a superset of sed and awk, so I won't comment on those or other
capable scripting languages (Python, Ruby, etc.).
The Emacs features I've missed the most when writing Perl filters:
- instant feedback
- incremental search and replace
- run any function on a region or the whole buffer interactively
- automatic backups (perl sort of has that with -i.bak)
- automatic undo
- open remote files (over Tramp) and run VCS commands on them
- toggle-debug-on-*
For fairness, here are the Perl features I miss the most in Emacs when I
edit interactively:
- obfuscated code ;)
- the -n -p -i -a -e switches for filtering and in-place editing
- CPAN modules of all kinds
- database queries
- Perl's regular expressions
- speed, benchmarks, Test::More
- chained pipelines
When you consider all this, it's clear that they both have valuable
features for editing files, so editing a large file in Emacs is
worthwhile.
Ted
- Re: md5 checksum of a img file, or get the value of 100th byte, (continued)
- Re: md5 checksum of a img file, or get the value of 100th byte, Eli Zaretskii, 2008/06/05
- Message not available
- Re: md5 checksum of a img file, or get the value of 100th byte, Ted Zlatanov, 2008/06/06
- Re: md5 checksum of a img file, or get the value of 100th byte, Eli Zaretskii, 2008/06/06
- Message not available
- Re: md5 checksum of a img file, or get the value of 100th byte, Ted Zlatanov, 2008/06/06
- Re: md5 checksum of a img file, or get the value of 100th byte, Eli Zaretskii, 2008/06/06
- Message not available
- Re: md5 checksum of a img file, or get the value of 100th byte, Ted Zlatanov, 2008/06/06
- Re: md5 checksum of a img file, or get the value of 100th byte, Eli Zaretskii, 2008/06/07
- Message not available
- Re: md5 checksum of a img file, or get the value of 100th byte, Ted Zlatanov, 2008/06/09
- Re: md5 checksum of a img file, or get the value of 100th byte, Eli Zaretskii, 2008/06/09
- Message not available
- Re: md5 checksum of a img file, or get the value of 100th byte, Tim X, 2008/06/06
- Re: md5 checksum of a img file, or get the value of 100th byte,
Ted Zlatanov <=