Annotation of 43BSDTahoe/usr.lib/learn/morefiles/L6.1b, revision 1.1

1.1     ! root        1: #print
        !             2: Several of the programs we have been using as examples,
        !             3: such as "grep" and "wc", have the property that when
        !             4: you use file names with them, the output includes
        !             5: the file names.  For example, if you say
        !             6:   grep pattern file1 file2 file3
        !             7: each line that contains "pattern" is printed out
        !             8: with "file1:" or whatever in front of it.
        !             9: 
        !            10: Sometimes you would love to get rid of that file name, since
        !            11: you don't care a bit where the line came from,
        !            12: and the file name clutters up the output.
        !            13: One thing is to use "cat" to collect the files, and
        !            14: pipe into "grep"; in that case "grep" doesn't mention
        !            15: any file name because there isn't one.
        !            16: 
        !            17: In this directory there are several files whose names end 
        !            18: in ".x".  Use a pipeline of "cat" and "grep" to print all the lines
        !            19: that contain the letters "ion", without any identifying filenames.
        !            20: Type "ready" when you're done.
        !            21: #create 0x
        !            22: ion, but this one is in the wrong file!
        !            23: #create 1.x
        !            24: o
        !            25: o'
        !            26: oaf
        !            27: oafish
        !            28: oafishly
        !            29: oafishness
        !            30: oak
        !            31: oaken
        !            32: oaks
        !            33: oakum
        !            34: oar
        !            35: oared
        !            36: oarfish
        !            37: oarlock
        !            38: oarsman
        !            39: oases
        !            40: oasis
        !            41: oat
        !            42: oatcake
        !            43: oaten
        !            44: oath
        !            45: oaths
        !            46: oatmeal
        !            47: obbligati
        !            48: obbligato
        !            49: obbligatos
        !            50: obconic
        !            51: obcordate
        !            52: obduracy
        !            53: obdurate
        !            54: #create 2.x
        !            55: obdurately
        !            56: obdurateness
        !            57: obeah
        !            58: obedience
        !            59: obedient
        !            60: obediently
        !            61: obeisance
        !            62: obeisant
        !            63: obeli
        !            64: obelisk
        !            65: obelize
        !            66: obelus
        !            67: obese
        !            68: obesity
        !            69: obey
        !            70: obeyer
        !            71: obfuscate
        !            72: obfuscation
        !            73: obfuscatory
        !            74: obi
        !            75: obit
        !            76: obituary
        !            77: object
        !            78: objectification
        !            79: objectify
        !            80: objection
        !            81: objectionable
        !            82: objectionableness
        !            83: objectionably
        !            84: objective
        !            85: #create 3.x
        !            86: objectively
        !            87: objectiveness
        !            88: objectivism
        !            89: objectivist
        !            90: objectivistic
        !            91: objectivity
        !            92: objectless
        !            93: objector
        !            94: objurgate
        !            95: objurgation
        !            96: objurgatory
        !            97: oblanceolate
        !            98: oblast
        !            99: oblate
        !           100: oblate
        !           101: oblateness
        !           102: oblation
        !           103: obligate
        !           104: obligately
        !           105: obligation
        !           106: obligatorily
        !           107: obligatory
        !           108: oblige
        !           109: obligee
        !           110: obliger
        !           111: obliging
        !           112: obligingly
        !           113: obligingness
        !           114: obligor
        !           115: oblique
        !           116: obliquely
        !           117: obliqueness
        !           118: obliquity
        !           119: obliterate
        !           120: #copyout
        !           121: #user
        !           122: #uncopyout
        !           123: grep ion <.ocopy >X1
        !           124: cat *.x | grep ion >X2
        !           125: #cmp X1 X2
        !           126: #log
        !           127: #next
        !           128: 6.1c

unix.superglobalmegacorp.com

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