Example 4

Operation: Find the line containing a specific word and move it to the bottom of the data set.

Known:
  • Data set contains nine lines of text.
  • Word to be found is men.
  • Data set is unnumbered.
Before:            Enter:                  After:

NOW IS             top                     NOW IS
THE TIME           move 'men' 1 99999999   THE TIME
FOR ALL                                    FOR ALL
GOOD MEN                                   TO COME
TO COME                                    TO THE
TO THE                                     AID OF
AID OF                                     THEIR
THEIR                                      COUNTRY
COUNTRY                               CLP  GOOD MEN