File:  [CSRG BSD Unix] / 42BSD / usr.lib / learn / editor / L38.2b
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD42
BSD 4.2

#print
In this directory there is a file "text"; whenever the
letters "cat" begin a line, change them to "mouse";  but
leave other instances of "cat" unaltered.  Do this on each line.
Then rewrite the file and type "ready".
#create Ref
mouse's paw
alley cat
mouse has nine lives
let the cat out of the bag
#create text
cat's paw
alley cat
cat has nine lives
let the cat out of the bag
#user
#cmp text Ref
#log
#next
39.1a 10

unix.superglobalmegacorp.com

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