File:  [CSRG BSD Unix] / 43BSDTahoe / usr.lib / learn / editor / L43.1a
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

#print
Note that there is quite a list of special characters
recognized by the editor:
 . [ * ^ $ & /
What do you do when you want to specifically use
one of these characters as itself, rather than
for its funny meaning?  You must precede it by a backslash,
as in
  s/\./,/p
which will change the line
  x, y. and z
into
  x, y, and z
easily.  The same works for all the other special
characters.  What command would change
  *
into
  c
Type "answer COMMAND" where COMMAND is of the form
  s/.././p
#copyin
#user
#uncopyin
#match s/\*/c/p
#match s/\*/c/
You forgot the "p" on the end.
#log
#next
44.1a 10

unix.superglobalmegacorp.com

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