diff --git a/doc/man/mcedit.1.in b/doc/man/mcedit.1.in
index e33641db8..b27f8d471 100644
a
|
b
|
will be untouched. Default value is |
604 | 604 | Show full path name in the status line. If disabled (default), only base name of the |
605 | 605 | file is shown. |
606 | 606 | .SH MISCELLANEOUS |
607 | | You can use scanf search and replace to search and replace a C format |
608 | | string. First take a look at the |
609 | | .B sscanf |
610 | | and |
611 | | .B sprintf |
612 | | man pages to see what a format string is and how it works. Here's an |
613 | | example: suppose that you want to replace all occurrences of an open |
614 | | bracket, three comma separated numbers, and a close bracket, with the |
615 | | word |
616 | | .IR apples , |
617 | | the third number, the word |
618 | | .I oranges |
619 | | and then the second number. You would fill in the Replace dialog box as |
620 | | follows: |
621 | | .PP |
622 | | .nf |
623 | | .B Enter search string |
624 | | (%d,%d,%d) |
625 | | .B Enter replace string |
626 | | apples %d oranges %d |
627 | | .B Enter replacement argument order |
628 | | 3,2 |
629 | | .fi |
630 | | .PP |
631 | | The last line specifies that the third and then the second number are to |
632 | | be used in place of the first and second. |
633 | | .PP |
634 | | It is advisable to use this feature with Prompt On Replace on, because a |
635 | | match is thought to be found whenever the number of arguments found |
636 | | matches the number given, which is not always a real match. Scanf also |
637 | | treats whitespace as being elastic. Note that the scanf format %[ is |
638 | | very useful for scanning strings, and whitespace. |
639 | | .PP |
640 | 607 | The editor also displays non\-us characters (160+). When editing |
641 | 608 | binary files, you should set |
642 | 609 | .B display bits |