Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

whats a good editor

Name: Anonymous 2007-08-01 16:17 ID:hkgx7Pjd

i use ms word because i can use bbcode-like stuff like bolding and stuff when i program htemal web sights what is a good editor??

Name: Anonymous 2007-08-01 17:57 ID:9XFP3ABC

cat. It's the simplest editor of all. Say you want to write a file called hello.c. Simply type cat > hello.c and then type away. Press ctrl-d when you're done to indicate end of stream.

$ cat > hello.c
int main() {
    puts("Hello, world!");
    return 0;
}


If you make a mistake, your good friend sed will help you fix it - cat doesn't include this functionality because unlike vi for example, it's not a bloated mess. When resuming editing you'll have to remember to use >> instead of > otherwise you'll create a new file and lose all your previous work.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List