LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Emacs rectangle search/replace

Posted 08-21-2016 at 07:43 PM by flshope

I use Emacs to write code occasionally, mostly Fortran. A common thing I need to do is search and replace everywhere in a region confined to a rectangle within the text. An example is altering an existing code from Fortran 77 format to Fortran 90, specifically changing all of the Cs in column one (indicating comments) to !s. In Emacs terminology, this is a rectangle of width 1 character and as high as the number of lines in the code.

I have had difficulty figuring out how to do this...
Member
Posted in Uncategorized
Views 123 Comments 0 flshope is offline
Old

Day < 5...

Posted 03-25-2009 at 11:14 PM by thebusker

Right-o,

Been tackling this Linux beast for some days now, and I have settled on Debian.

I don't have sound and I don't have internet, but I have Linux. It's a start.

This whole thing began as some sort of immersion therapy attempt to learn C. Got myself a K&R, a Debian Distro and have just downloaded Emacs with my *cough* Vista box.

The plan is to work my way through K&R, get my audio and net up with some help from LQ, et.al.,...
LQ Newbie
Posted in Uncategorized
Views 2120 Comments 0 thebusker is offline

  



All times are GMT -5. The time now is 03:22 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration