Annotation of 42BSD/usr.lib/learn/editor/L70.2b, revision 1.1

1.1     ! root        1: #print
        !             2: You can use any command with 'g', not just 'p'. For example
        !             3:  g/xx/s/a/b/
        !             4: changes 'a' to 'b' on every line containing 'xx'.  As an
        !             5: example of the global command used with 'd', try this:
        !             6: In file "cities" there is a list of cities with their states and
        !             7: zip codes.  Delete all cities which are in New Jersey (i.e. all
        !             8: lines containing NJ). Then rewrite the file and type "ready".
        !             9: #create Ref
        !            10: Albany NY 12201
        !            11: Atlanta GA 30301
        !            12: Baltimore MD 21233
        !            13: Boston MA 02109
        !            14: Bridgeport CN 06601
        !            15: Buffalo NY 14240
        !            16: Chicago IL 60607
        !            17: Dallas TX 75221
        !            18: Denver CO 80201
        !            19: Detroit MI 48226
        !            20: Hartford CN 06101
        !            21: Houston TX 77052
        !            22: Indianapolis IN 46204
        !            23: Los Angeles CA 90053
        !            24: Miami FL 33101
        !            25: Milwaukee WI 53201
        !            26: Minneapolis MN 55401
        !            27: New York NY 10001
        !            28: Philadelphia PA 19104
        !            29: Phoenix AR 85026
        !            30: Pittsburgh PA 15230
        !            31: Providence RI 02904
        !            32: Rochester NY 14603
        !            33: San Diego CA 92101
        !            34: San Francisco CA 94101
        !            35: Seattle WA 98101
        !            36: St. Louis MO 63166
        !            37: Syracuse NY 13201
        !            38: Utica NY 13503
        !            39: Washington DC 20013
        !            40: Yonkers NY 10598
        !            41: #create cities
        !            42: Albany NY 12201
        !            43: Atlanta GA 30301
        !            44: Baltimore MD 21233
        !            45: Boston MA 02109
        !            46: Bridgeport CN 06601
        !            47: Buffalo NY 14240
        !            48: Camden NJ 08101
        !            49: Chicago IL 60607
        !            50: Dallas TX 75221
        !            51: Denver CO 80201
        !            52: Detroit MI 48226
        !            53: Elizabeth NJ 07207
        !            54: Hartford CN 06101
        !            55: Houston TX 77052
        !            56: Indianapolis IN 46204
        !            57: Jersey City NJ 07303
        !            58: Los Angeles CA 90053
        !            59: Miami FL 33101
        !            60: Milwaukee WI 53201
        !            61: Minneapolis MN 55401
        !            62: New York NY 10001
        !            63: Newark NJ 07101
        !            64: Paterson NJ 07510
        !            65: Philadelphia PA 19104
        !            66: Phoenix AR 85026
        !            67: Pittsburgh PA 15230
        !            68: Providence RI 02904
        !            69: Rochester NY 14603
        !            70: San Diego CA 92101
        !            71: San Francisco CA 94101
        !            72: Seattle WA 98101
        !            73: St. Louis MO 63166
        !            74: Syracuse NY 13201
        !            75: Trenton NJ 08608
        !            76: Utica NY 13503
        !            77: Washington DC 20013
        !            78: Yonkers NY 10598
        !            79: #user
        !            80: #cmp cities Ref
        !            81: #log
        !            82: #next
        !            83: 70.2c 5
        !            84: 70.2d 10

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.