File:  [CSRG BSD Unix] / 43BSDReno / usr.bin / learn / learnlib / editor / L33.1b
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

#print
Write the command that will change
either the word "that" or the word "than"
into "this", and then print the result.  Type
"answer COMMAND" on a line, where COMMAND is
that string.  (That is, COMMAND
will be of the form
   s/.../.../p
where you have replaced the ... with the right stuff.)
You can test this out by going into the editor and
typing in a line that contains "that" and "than"
and trying to change it.  You should do that until you
are sure you have the command right.
#copyin
#user
#uncopyin
#match s/tha[nt]/this/p
#match s/tha[tn]/this/p
#match s/tha[nt]/this/gp
#match s/tha[tn]/this/gp
#log
#next
34.1a 10
34.2a 5

unix.superglobalmegacorp.com

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