home *** CD-ROM | disk | FTP | other *** search
- This is the file EDIT.ME. It is supplied along with the Sage Professional
- Editor to give you something with which to experiment. This file doesn't
- contain any important information, so don't worry about destroying it.
-
- There may be those of you who don't feel at home in an editor unless you are
- looking at some source code. We want you to feel at home, so how's this:
-
- /* RM - a simple file deletion program. Does not delete
- * directories.
- */
-
- #include <stdio.h>
-
- main(argc, argv)
- int argc;
- char *argv[];
- {
- int i;
-
- if ( argc == 1 )
- {
- fprintf(stderr, "RM: No files specified.\n");
- exit(1);
- }
- for ( i = 1; i < argc; ++i )
- {
- if ( unlink( argv[i] ) == -1 )
- fprintf(stderr, "RM: Cannot delete %s\n",argv[i]);
- }
- }
-
- Then there are those who like to see word processor margins on
- every bit of text they see:
-
-
- Four score and seven years ago, our fathers brought forth on
- this continent a new nation conceived in liberty and dedicated
- to the proposition that all men are created equal. Now we are
- engaged in a great civil war, testing whether that nation or any
- nation so conceived can long endure.
-
- We are met on a great battle-field of that war. We have come to
- dedicated a portion of that field, as a final resting place for
- those who here gave their lives that that nation might live.
- But in a larger sense, we can not dedicate this ground. The
- brave men, living and dead who struggled here, have consecrated
- it, far above our poor powers to add or detract.
-
- Translation table for the paragraph following:
- ~=e
- >=(space)
- <=d
- ^=l
- @=o
-
- Note: the characters <, >, and ^ are regular expressions metacharacters.
- Use \ to quote when regex is on.
-
- Th~>w@r^<>wi^^>^itt^~>n@t~,>@r>^@ng>r~m~mb~r>what>w~>say>h~r~,>b
- ut>it>can>n~v~r>f@rg~t>what>th~y><i<>h~r~.>>It>is>f@r>us>th~>^iv
- ing,>rath~r>t@>b~><~<icat~<>h~r~>t@>th~>unfinish~<>w@rk>which>th
- ~y>wh@>f@ught>h~r~>hav~>thus>far>s@>n@b^y>a<vanc~<.>>It>is>rath~
- r>f@r>us>t@>b~>h~r~><~<icat~<>t@>th~>gr~at>task>r~maining>b~f@r~
- >us--
- that>fr@m>th~s~>h@n@r~<><~a<>w~>tak~>incr~as~<><~v@ti@n>t@>that>
- c@urs~>f@r>which>th~y>gav~>th~>^ast>fu^^>m~asur~>@f><~v@ti@n--
- that>w~>h~r~>high^y>r~s@^v~>that>th~s~><~a<>sha^^>n@t>hav~><i~<>
- in>vain.
-
- bread
- milk
- eggs
- ground beef
- chili
- corn flakes
- lettuce
- tomatoes
- bacon
- grapes
- pork chops
- yogurt
- butter
- potatoes
- cheese
- bagels
-
-