From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: md5 checksum of a img file, or get the value of 100th byte Date: Mon, 09 Jun 2008 10:15:53 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86y75evdue.fsf@lifelogs.com> References: <196be374-4aa5-4c2f-ac8d-9555502d386c@s21g2000prm.googlegroups.com> <861w3azkpi.fsf@lifelogs.com> <868wxixujt.fsf@lifelogs.com> <87myly3ycx.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213026120 21664 80.91.229.12 (9 Jun 2008 15:42:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Jun 2008 15:42:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 09 17:42:33 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K5jVo-0001Ua-AI for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Jun 2008 17:42:24 +0200 Original-Received: from localhost ([127.0.0.1]:54531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5jV1-0004tU-2B for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Jun 2008 11:41:35 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-X-Trace: news.albasani.net jh03dOOaZ5jyEdnbf5U+GpCSWpuJoqTG9J2PHstWNNh0/JL4Mb+mpd7Zc4xNovmBEh6n9GaU5TIAPmuXmcIddVlxI+E63SDuTrC7jt9nmMiP8SBcls8kv9qcvNuATTwL Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Mon, 9 Jun 2008 15:12:05 +0000 (UTC) X-User-ID: FnJkKXa+SHO1fR0LCHkg4q5BYX4YRNtg79eGh5qU7H0= X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:NzuqkDynlzrRhwA6/BQSY0TlrfE= sha1:SHEsrzM5atJS12AbsN/Jq1pw9HE= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) X-NNTP-Posting-Host: zV8rf2G9wcDBbzeBctIab88YaSd4Tl+FVYvXni5AxLQ= Original-Xref: news.stanford.edu gnu.emacs.help:159281 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54641 Archived-At: On Sat, 07 Jun 2008 10:03:26 +1000 Tim X 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