From 097f0cd61da40c8daa6a77b17bd9e63d56620305 Mon Sep 17 00:00:00 2001 From: Shawn Boyette Date: Tue, 11 Nov 2008 21:53:40 +0000 Subject: [PATCH] misc work --- marc-cleanup | 26 +++++++++++++++----------- 1 files changed, 15 insertions(+), 11 deletions(-) diff --git a/marc-cleanup b/marc-cleanup index c928250..bd2d541 100755 --- a/marc-cleanup +++ b/marc-cleanup @@ -397,10 +397,10 @@ sub yank_line { } sub display_lines { - print $OUT "\nCurrently stored lines --\n"; - print $OUT "Current edit line:", $conf->{origline}; + print $OUT "\nOrig. edit line :", $conf->{origline}; print $OUT "Current flip line:", $conf->{prevline} if $conf->{prevline}; print $OUT "Last killed line :", $conf->{killline} if $conf->{killline}; + print $OUT "\n"; return 0; } @@ -441,17 +441,21 @@ sub narrow_window { sub help { print $OUT < Contract context window | y Yank last killed line +p Move pointer to prev line | m Merge current line into preceding line +n Move pointer to next line | o Insert original line +c Print line context | f Flip current line and last edited line +d Print current saved lines | +-----------------------------+------------------------------------------- +s Subtitute; replace ARG1 in current line with ARG2. If either ARG + contains spaces, it must be single-quoted +t Commit changes and resume automated operations +x Dump record to exception file +q Quit HELP return 0; -- 1.7.2.5