From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sharky Newsgroups: gmane.emacs.help Subject: Add +2 to all numbers in file Date: Fri, 27 Feb 2009 00:18:23 -0800 (PST) Organization: http://groups.google.com Message-ID: <278c44c4-39e2-4a43-a4f7-f047bb433653@33g2000yqm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1235724102 14393 80.91.229.12 (27 Feb 2009 08:41:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2009 08:41:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 27 09:42:58 2009 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 1LcyJ5-0004Ab-FA for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2009 09:42:55 +0100 Original-Received: from localhost ([127.0.0.1]:39986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LcyHk-0005h7-Lq for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Feb 2009 03:41:32 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!33g2000yqm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 83.227.193.159 Original-X-Trace: posting.google.com 1235722703 21415 127.0.0.1 (27 Feb 2009 08:18:23 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 27 Feb 2009 08:18:23 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 33g2000yqm.googlegroups.com; posting-host=83.227.193.159; posting-account=8RYO8woAAADfzT_5CyCuWpkofHMf62oL User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009020407 Iceweasel/3.0.6 (Debian-3.0.6-1),gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:167124 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:62422 Archived-At: Hi! I have a file with a lot of numbers. It looks like this: xx, xx, xx--xx, xx, xx, x xx, x, xx--xx, xx--xx, x xx, xx xx, xx, xx--xx, xx--xx, xx--xx You get the picture. Can I make emacs add 2 to each and everyone of these numbers? Please help! /Sharky