Motion Edit Commands

   

Korn Shell: Unix and Linux Programming Manual, Third Edition, The
By Anatole Olczak

Table of Contents
Appendix E.  Korn Shell Man Page


These commands will move the cursor.

[count]l

Cursor forward (right) one character.

[count]w

Cursor forward one alpha-numeric word.

[count]W

Cursor to the beginning of the next word that follows a blank.

[count]e

Cursor to end of word.

[count]E

Cursor to end of the current blank delimited word.

[count]h

Cursor backward (left) one character.

[count]b

Cursor backward one word.

[count]B

Cursor to preceding blank separated word.

[count]l

Cursor to column 1 count.

[count]f c

Find the next character c in the current line.

[count]F c

Find the previous character c in the current line.

[count]t c

Equivalent to f followed by h.

[count]T c

Equivalent to F followed by l.

[count];

Repeats count times, the last single character find command, f, F, t, or T.

[count],

Reverses the last single character find command count times.

0

Cursor to start of line.

^

Cursor to first non-blank character in line.

$

Cursor to end of line.


       
    Top
     



    Korn Shell. Unix and Linux Programming Manual, Third Edition
    Korn Shell. Unix and Linux Programming Manual, Third Edition
    ISBN: N/A
    EAN: N/A
    Year: 2000
    Pages: 177

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net