View previous topic :: View next topic |
Author |
Message |
danm Intermediate
Joined: 29 Jun 2004 Posts: 170 Topics: 73
|
Posted: Tue Apr 15, 2008 9:12 am Post subject: Show only lines that have been changed |
|
|
When I edit a file of 1000 lines and issue the command 'change abc xyz all', all changed lines are labeled with '==CHG>" . Is there a way to show only those lines with '==CHG>' on them? The EXCLUDE command doesn't work on label. |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Tue Apr 15, 2008 9:53 am Post subject: |
|
|
Code: |
/* REXX */
ADDRESS ISPEXEC "CONTROL ERRORS RETURN"
ADDRESS ISREDIT
"MACRO"
"X ALL"
RTCD = 0
DO WHILE RTCD = 0
"LOCATE CHG"
RTCD = RC
END
"TOP"
|
_________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
 |
CraigG Intermediate
Joined: 02 May 2007 Posts: 202 Topics: 0 Location: Viginia, USA
|
Posted: Tue Apr 15, 2008 9:53 am Post subject: |
|
|
X ALL;CHANGE ABC XYZ ALL
Then all the lines that were changed will show. |
|
Back to top |
|
 |
danm Intermediate
Joined: 29 Jun 2004 Posts: 170 Topics: 73
|
Posted: Wed Apr 16, 2008 9:43 am Post subject: |
|
|
GraigG,
This is exactly what I am looking for. Thanks. |
|
Back to top |
|
 |
|
|