LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


View Poll Results: Do you use ed?
What the heck is ed? 7 21.21%
Anyone who is still using ed is a freakin' weirdo. 11 33.33%
I've used it in the past but not anymore. 8 24.24%
Occasionally. 5 15.15%
Always. I LOVE ED! 2 6.06%
Voters: 33. You may not vote on this poll

Reply
  Search this Thread
Old 05-20-2010, 03:08 PM   #1
CoderMan
Member
 
Registered: Jan 2009
Location: Gemini Capsule 25164
Distribution: Gentoo
Posts: 375
Blog Entries: 24

Rep: Reputation: 43
Do you use ed?


Yes, it's true. I'm an ed user. Usually emacs is fine... but sometimes when I am in a really geeky mood I'll pull out ed to hack away at my config files.

Last edited by CoderMan; 05-20-2010 at 03:14 PM.
 
Old 05-20-2010, 03:12 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
God no
 
Old 05-20-2010, 03:17 PM   #3
14moose
Member
 
Registered: May 2010
Posts: 83

Rep: Reputation: Disabled
Only on my 3cps teletype.

But I'm having trouble buying rolls of the yellow paper for it. So I usually have to bail on "ed", and just use "iWork Pages" on my new iPad
 
Old 05-20-2010, 04:45 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
:q
:q!
q
q
q
q
q
q
q
q
q
^Z
export EDITOR=vi
kill %1
 
Old 05-20-2010, 07:23 PM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
I was interested in learning to use ed.
 
Old 05-31-2010, 10:59 PM   #6
multios
Member
 
Registered: Mar 2006
Location: Homer, Alaska USA
Distribution: OpenBSD, FreeBSD, Slackware64-current
Posts: 276

Rep: Reputation: 58
yes, I use ed. Took me a while, but now I really enjoy it for its' simplicity.
 
Old 05-31-2010, 11:08 PM   #7
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
Personally, I use nano. I used emacs for a long time, I can live with vim too, but seriously, there is better graphical editor like Kate with more feature and greater extensability (let say easier in 2010, I know that both vi and emacs can get/are bloatable too). When I need to edit something from CLI, the easier the better, mc and nano are good at that.
 
Old 06-01-2010, 12:32 AM   #8
MBybee
Member
 
Registered: Jan 2009
Location: wherever I can make a living
Distribution: OpenBSD / Debian / Ubuntu / Win7 / OpenVMS
Posts: 440

Rep: Reputation: 57
I use primarily vi/Vim.

Used to be a hardcode tpu addict, then edit /tpu, then... well, nothing worked quite like it. But vi was on almost everything
 
Old 06-01-2010, 02:01 PM   #9
dna9
Member
 
Registered: Nov 2004
Location: Colorado
Distribution: Ubuntu mostly...
Posts: 100

Rep: Reputation: 28
ed is LOLZ.
 
Old 06-02-2010, 09:57 AM   #10
hda7
Member
 
Registered: May 2009
Distribution: Debian wheezy
Posts: 252

Rep: Reputation: 31
When you've just had a crash, and you're without emacs and vim, and the vi clone doesn't work right, what's left? ed!!!

Personally, I mostly use ed for fun for making changes to config files mostly. I use emacs and vim a lot for other things.
 
Old 06-02-2010, 10:53 AM   #11
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Weirdos.
 
Old 06-02-2010, 11:40 AM   #12
potuz
Member
 
Registered: Jul 2009
Distribution: Gentoo, CLFS.
Posts: 40

Rep: Reputation: 16
Quote:
Originally Posted by dive View Post
:q :q! :wq :w :w! :wq! :quit :quit! :help help helpquit quit quithelp
:quitplease :quitnow :leave ^X^C ^C ^D ^Z ^Q QUITDAMMIT ^[:wq
Very very good!

I use ed as an interactive mode for sed sometimes, although I always have a vi terminal somewhere in my desktop.
 
Old 06-03-2010, 05:35 AM   #13
multios
Member
 
Registered: Mar 2006
Location: Homer, Alaska USA
Distribution: OpenBSD, FreeBSD, Slackware64-current
Posts: 276

Rep: Reputation: 58
dive,
q is faster and easier than :q
w is faster and easier than :w
h is faster and easier than :h, :help

he-he, couldn't resist. Actually, I laughed out loud first time I saw your signatur on the slackware section.


hda7, I moved an hda to hdb and forgot to edit /etc/fstab. Decided to learn ed real quick
 
Old 06-03-2010, 07:26 AM   #14
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
The first time I tried quitting ed:

Code:
~$ ed
^C
^C
q
~$
Come on, 'q' is so universal among command line apps!
 
Old 06-03-2010, 11:23 AM   #15
CoderMan
Member
 
Registered: Jan 2009
Location: Gemini Capsule 25164
Distribution: Gentoo
Posts: 375

Original Poster
Blog Entries: 24

Rep: Reputation: 43
One nice thing about it is that it is small, but still workable. On my system, the binary is 44K, and that is with -O2 optimization. Dependencies are pretty light also:

Code:
$ ldd /bin/ed
	linux-vdso.so.1 =>  (0x00007fff24722000)
	libc.so.6 => /lib/libc.so.6 (0x00007f2869326000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f286967f000)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:04 AM.

Main Menu
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
Open Source Consulting | Domain Registration