=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== mh-book-200605/overall/ack.html-169- Finally, I'd also like to thank my good friends Lynn Brinton and mh-book-200605/overall/ack.html:170: Greg and Sonya DesBrisay for their enthusiasm and support, for mh-book-200605/overall/ack.html-171- proofreading my stuff, and for not forsaking me when I made my ############################################## mh-book-200605/mh/confmhn.html-299- set tty="`tty`" mh-book-200605/mh/confmhn.html:300: switch (`who | sed -n "/ $tty:t /s/.*(\(.*\))/\1/p"`) mh-book-200605/mh/confmhn.html-301- case *0.0: ############################################## mh-book-200605/mh/confmhn.html-322- basetty=`basename \`tty\`` mh-book-200605/mh/confmhn.html:323: case "`who | sed -n \"/ $basetty /s/.*(\(.*\))/\1/p\"`" in mh-book-200605/mh/confmhn.html-324- *0.0) ############################################## mh-book-200605/mh/confmhn.html-2452- cat << END_OF_STUFF 1>&2 mh-book-200605/mh/confmhn.html:2453: `basename $0`: sending mail to '$ftpmail': mh-book-200605/mh/confmhn.html-2454- ############################################## mh-book-200605/mh/drafil.html-302- <i> <a href="#line2">2</a>> </i>%<(nonnull)%(void(width))%(putaddr To: )\n%>\ mh-book-200605/mh/drafil.html:303: <i> <a href="#line3">3</a>> </i>%(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ mh-book-200605/mh/drafil.html-304- <i> <a href="#line3">4</a>> </i>%<(nonnull)%(void(width))%(putaddr cc: )\n%>\ ############################################## mh-book-200605/mh/drafil.html-428- <pre> mh-book-200605/mh/drafil.html:429: %(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ mh-book-200605/mh/drafil.html-430- %<(nonnull)%(void(width))%(putaddr cc: )\n%>\ ############################################## mh-book-200605/mh/drafil.html-436- message. It also includes your address mh-book-200605/mh/drafil.html:437: (with <tt>formataddr(me)</tt>). mh-book-200605/mh/drafil.html-438- ############################################## mh-book-200605/mh/drafil.html-464- <pre> mh-book-200605/mh/drafil.html:465: %(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ mh-book-200605/mh/drafil.html-466- %(formataddr{resent-to})%(formataddr{resent-cc})\ ############################################## mh-book-200605/mh/drafil.html-732- %(void(width))%(putaddr To: ) mh-book-200605/mh/drafil.html:733: %(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ mh-book-200605/mh/drafil.html-734- %(formataddr{resent-to})%(formataddr{resent-cc})\ ############################################## mh-book-200605/mh/edmeshm.html-38- #!/bin/sh mh-book-200605/mh/edmeshm.html:39: exec <i>your-editor-here</i> `mhpath ${*-cur}` mh-book-200605/mh/edmeshm.html-40- </pre> ############################################## mh-book-200605/mh/e-mkfona.html-125- <pre> mh-book-200605/mh/e-mkfona.html:126: fols=`sed -n "/^$abbrev$T/s///p" $table` mh-book-200605/mh/e-mkfona.html-127- </pre> ############################################## mh-book-200605/mh/e-pick2m.html-32- <pre> mh-book-200605/mh/e-pick2m.html:33: for addr in ${PICK2ME=`cat \`mhpath +\`/$defaults`} mh-book-200605/mh/e-pick2m.html-34- do ############################################## mh-book-200605/mh/e-recomp.html-38- draftf="+`mhparam draft-folder`" || { mh-book-200605/mh/e-recomp.html:39: echo "`basename $0`: quitting: trouble finding your draft folder." 1>&2 mh-book-200605/mh/e-recomp.html-40- exit 1 ############################################## mh-book-200605/mh/e-showpr.html-73- mh-book-200605/mh/e-showpr.html:74: <b>Original line</b> eval set x `$mhprofile -b $myname` '${1+"$@"}' mh-book-200605/mh/e-showpr.html-75- ############################################## mh-book-200605/mh/finnam.html-59- <pre> mh-book-200605/mh/finnam.html:60: myname="`basename $0`" mh-book-200605/mh/finnam.html-61- </pre> ############################################## mh-book-200605/mh/finpic.html-642- < # Run pick (with eval, to pick up quoting); check exit status and output: mh-book-200605/mh/finpic.html:643: < msgs=`eval pick $pickopts $lookfor` mh-book-200605/mh/finpic.html-644- --- mh-book-200605/mh/finpic.html-645- > # Run pick; check exit status and output: mh-book-200605/mh/finpic.html:646: > msgs=`pick $pickopts $lookfor` mh-book-200605/mh/finpic.html-647- </pre> ############################################## mh-book-200605/mh/fol.html-1259- ? <b>echo Checking +$folder...</b> mh-book-200605/mh/fol.html:1260: ? <b>scan `pick -subject SUMMARY +$folder`</b> mh-book-200605/mh/fol.html-1261- ? <b>end</b> ############################################## mh-book-200605/mh/getmenu.html-63- args="6 25-cur" mh-book-200605/mh/getmenu.html:64: msgs="`pick -list $args`" mh-book-200605/mh/getmenu.html-65- </pre> ############################################## mh-book-200605/mh/getmenu.html-80- args="6 25-cur" mh-book-200605/mh/getmenu.html:81: msgs="`scan -format '%(msg)' $args`" mh-book-200605/mh/getmenu.html-82- </pre> ############################################## mh-book-200605/mh/getmenu.html-90- <pre> mh-book-200605/mh/getmenu.html:91: cd `mhpath $folder` || exit 1 mh-book-200605/mh/getmenu.html-92- </pre> ############################################## mh-book-200605/mh/getmenu.html-115- <pre> mh-book-200605/mh/getmenu.html:116: seq_out=`mark -list -seq $seqname` mh-book-200605/mh/getmenu.html-117- case "$seq_out" in ############################################## mh-book-200605/mh/getpro.html-58- <pre> mh-book-200605/mh/getpro.html:59: myname="`basename $0`" mh-book-200605/mh/getpro.html:60: progopts="`mhparam $myname`" mh-book-200605/mh/getpro.html-61- allargs="$progopts $*" ############################################## mh-book-200605/mh/getpro.html-142- <pre> mh-book-200605/mh/getpro.html:143: myname="`basename $0`" mh-book-200605/mh/getpro.html-144- # IF mhprofile FAILS, EXIT WITH ITS STATUS: mh-book-200605/mh/getpro.html:145: profswch="`mhprofile -b $myname`" || exit mh-book-200605/mh/getpro.html-146- for arg in $profswch $* ############################################## mh-book-200605/mh/hanarg.html-108- "") folder="$arg" ;; mh-book-200605/mh/hanarg.html:109: *) echo "`basename $0`: '$arg'? Only one folder at a time." 1>&2 mh-book-200605/mh/hanarg.html-110- exit 1 ############################################## mh-book-200605/mh/mhstr.html-1578- <i> 7> </i>%|%(void(width))%(putaddr To: )%>\n%>\ mh-book-200605/mh/mhstr.html:1579: <i> 8> </i>%(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ mh-book-200605/mh/mhstr.html-1580- <i> 9> </i>%<(nonnull)%(void(width))%(putaddr cc: )\n%>\ ############################################## mh-book-200605/mh/remime.html-101- > <b>do mv "$f" $n</b> mh-book-200605/mh/remime.html:102: > <b>n=`expr $n + 1`</b> mh-book-200605/mh/remime.html-103- > <b>done</b> ############################################## mh-book-200605/mh/setacc.html-94- ? <b>echo fixing +$f</b> mh-book-200605/mh/setacc.html:95: ? <b>set fp="`mhpath +$f`"</b> mh-book-200605/mh/setacc.html-96- ? <b>chmod 750 $fp</b> ############################################## mh-book-200605/mh/setacc.html-110- > <b>do echo fixing +$f</b> mh-book-200605/mh/setacc.html:111: > <b>fp="`mhpath +$f`"</b> mh-book-200605/mh/setacc.html-112- > <b>chmod 750 $fp</b> ############################################## mh-book-200605/mh/stormess.html-204- 1+*) # Copy folder file (with .packf.Z extension) from MH directory to $temp: mh-book-200605/mh/stormess.html:205: file=`mhpath +`/`expr "$1" : '+\(.*\)'`.packf.Z || exit 1 mh-book-200605/mh/stormess.html-206- zcat $file > $temp || exit 1 ############################################## mh-book-200605/mh/stormess.html-210- ;; mh-book-200605/mh/stormess.html:211: *) echo "Usage: `basename $0` +packed-folder-name" 1>&2 mh-book-200605/mh/stormess.html-212- exit 1 ############################################## mh-book-200605/mh/vermes.html-183- <pre> mh-book-200605/mh/vermes.html:184: show `pick -to ${USER}_msgs -list` mh-book-200605/mh/vermes.html-185- </pre> ############################################## mh-book-200605/mh/verrep.html-322- field. If you'd rather, you can send a <tt>cc:</tt> to yourself mh-book-200605/mh/verrep.html:323: automatically by adding <tt>%(formataddr(me))</tt> next to mh-book-200605/mh/verrep.html-324- the <tt>%(formataddr{cc})</tt>. ############################################## mh-book-200605/mh/wgiafw1l.html-30- # this program will execute the command 'show 5'. mh-book-200605/mh/wgiafw1l.html:31: /usr/local/mh/show `basename $0` $* mh-book-200605/mh/wgiafw1l.html-32- </pre> ############################################## mh-book-200605/mh/wgiafw1l.html-72- <pre> mh-book-200605/mh/wgiafw1l.html:73: exec /usr/local/mh/show `basename $0` $* mh-book-200605/mh/wgiafw1l.html-74- </pre> ############################################## mh-book-200605/examples/mh/execit/execit.link-6-then mh-book-200605/examples/mh/execit/execit.link:7: echo "`basename $0`: can't read '$incfile'; quitting." 1>&2 mh-book-200605/examples/mh/execit/execit.link-8- exit 1 ############################################## mh-book-200605/examples/mh/execit/execit.link-15-# USE sed TO GRAB FIRST WORD ON EACH LINE, WITHOUT THE QUOTES. mh-book-200605/examples/mh/execit/execit.link:16:for link in `sed 's/^[^"]*"\([^"][^"]*\)".*/\1/' $incfile` mh-book-200605/examples/mh/execit/execit.link-17-do ############################################## mh-book-200605/examples/mh/Mail/replcomps.addrfix-8-%<{fcc}Fcc: %{fcc}\n%>\ mh-book-200605/examples/mh/Mail/replcomps.addrfix:9:%(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ mh-book-200605/examples/mh/Mail/replcomps.addrfix-10-%<(nonnull)%(void(width))%(putaddr cc: )\n%>\ ############################################## mh-book-200605/examples/mh/Mail/replcomps.jerry-2-%(void(width))%(putaddr To: ) mh-book-200605/examples/mh/Mail/replcomps.jerry:3:%(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ mh-book-200605/examples/mh/Mail/replcomps.jerry-4-%(formataddr{resent-to})%(formataddr{resent-cc})\ ############################################## mh-book-200605/examples/mh/Mail/replbcomps-4-%<(nonnull)%(void(width))%(putaddr To: )\n%>\ mh-book-200605/examples/mh/Mail/replbcomps:5:%(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ mh-book-200605/examples/mh/Mail/replbcomps-6-%<(nonnull)%(void(width))%(putaddr cc: )\n%>\ ############################################## mh-book-200605/examples/mh/Mail/replcomps.default-2-%<(nonnull)%(void(width))%(putaddr To: )\n%>\ mh-book-200605/examples/mh/Mail/replcomps.default:3:%(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ mh-book-200605/examples/mh/Mail/replcomps.default-4-%<(nonnull)%(void(width))%(putaddr cc: )\n%>\ ############################################## mh-book-200605/examples/mh/Mail/replxcomps-2-%(void(width))%(putaddr To: ) mh-book-200605/examples/mh/Mail/replxcomps:3:%(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ mh-book-200605/examples/mh/Mail/replxcomps-4-%(formataddr{resent-to})%(formataddr{resent-cc})\ ############################################## mh-book-200605/examples/mh/bin/forwbatch-63-msgedit=/bin/ed # For editing draft header mh-book-200605/examples/mh/bin/forwbatch:64:myname=`basename $0` # Name of this program mh-book-200605/examples/mh/bin/forwbatch-65-showbad="/bin/cat -v" # Command to show non-printable characters ############################################## mh-book-200605/examples/mh/bin/forwbatch-83-# break those up. mh-book-200605/examples/mh/bin/forwbatch:84:origsubj=`$mhdir/scan -width 1000 -format '%{subject}' ${mhmessages-cur}` || { mh-book-200605/examples/mh/bin/forwbatch-85- echo "$myname aborting: 'scan ${mhmessages-cur}' failed?" 1>&2 ############################################## mh-book-200605/examples/mh/bin/forwbatch-125- # Find editor to use on draft (default: prompter(1)) and run it: mh-book-200605/examples/mh/bin/forwbatch:126: profline=`$mhdir/mhparam "$myname"` mh-book-200605/examples/mh/bin/forwbatch:127: if editor=`expr "$profline" : '.*-editor *\([^ ]*\)'` mh-book-200605/examples/mh/bin/forwbatch-128- then : mh-book-200605/examples/mh/bin/forwbatch:129: elif editor=`$mhdir/mhparam editor` mh-book-200605/examples/mh/bin/forwbatch-130- then : ############################################## mh-book-200605/examples/mh/bin/rcvsearch-57- #{ exec >/tmp/rcvsearch.out 2>&1; set -x; } # Uncomment to debug mh-book-200605/examples/mh/bin/rcvsearch:58: PROG=`basename $0` mh-book-200605/examples/mh/bin/rcvsearch-59- if [ $# -lt 2 ] ; then ############################################## mh-book-200605/examples/mh/bin/rfl-86- mh-book-200605/examples/mh/bin/rfl:87:$mhdirpath = `$mhbin/mhpath +` || # PATH TO MH DIRECTORY mh-book-200605/examples/mh/bin/rfl-88- die "$myname quitting: can't get path to your MH directory.\n$!\n"; mh-book-200605/examples/mh/bin/rfl-89-chop $mhdirpath; mh-book-200605/examples/mh/bin/rfl:90:$profline = `$mhprfprg $myname`; # PROFILE SWITCHES FOR THIS SCRIPT mh-book-200605/examples/mh/bin/rfl-91-if ($profline ne "") { ############################################## mh-book-200605/examples/mh/bin/rfl-110-sub ckfolder { mh-book-200605/examples/mh/bin/rfl:111: local($folpath) = `$mhbin/mhpath @_` || mh-book-200605/examples/mh/bin/rfl-112- die "$myname: ckfolder: mhpath @_ bombed!?!\n"; ############################################## mh-book-200605/examples/mh/bin/rfl-315- # *** TEST rmm EXIT STATUS; CHANGE $status IF rmm BOMBS? mh-book-200605/examples/mh/bin/rfl:316: system("$mhbin/rmm @tormm +$srcfolder[0]"); mh-book-200605/examples/mh/bin/rfl-317- } ############################################## mh-book-200605/examples/mh/bin/rfl-627-if ($sflag == $yes) { mh-book-200605/examples/mh/bin/rfl:628: if (`$mhbin/folder -fast $folopts +$srcfolder[0]` ne "$srcfolder[0]\n") { mh-book-200605/examples/mh/bin/rfl-629- print STDERR "$myname quitting: can't set current folder", ############################################## mh-book-200605/examples/mh/bin/rfl-743- # NOTE: VARIABLES WITHOUT \ BEFORE THE $ ARE EXPANDED BY PERL: mh-book-200605/examples/mh/bin/rfl:744: system("MHCONTEXT=/tmp/RFL$$ $mhbin/scan $scanopts +$destfolder[0] @destmsgfiles | \${PAGER-$defpager}; /bin/rm -f /tmp/RFL$$"); mh-book-200605/examples/mh/bin/rfl-745- $list_shown = $yes; ############################################## mh-book-200605/examples/mh/bin/rfl-997- local($tempout); mh-book-200605/examples/mh/bin/rfl:998: $tempout = `$mhbin/mhpath new +$destfolder[0]` || mh-book-200605/examples/mh/bin/rfl-999- &rmm_exit (1, "$myname quitting: can't get new destination message number from mhpath:\n$!\n"); ############################################## mh-book-200605/examples/mh/bin/mhprofile-45--b) stripname=y; shift;; mh-book-200605/examples/mh/bin/mhprofile:46:-*) echo "Usage: `basename $0` [-b] component-name" 1>&2; exit 2 ;; mh-book-200605/examples/mh/bin/mhprofile-47-esac ############################################## mh-book-200605/examples/mh/bin/mhprofile-51-1) ;; mh-book-200605/examples/mh/bin/mhprofile:52:*) echo "`basename $0` quitting: wrong number of args." 1>&2; exit 2 ;; mh-book-200605/examples/mh/bin/mhprofile-53-esac ############################################## mh-book-200605/examples/mh/bin/mhprofile-55-# IF grep FAILS, RETURN ITS STATUS (1=NO MATCH, 2=ERROR): mh-book-200605/examples/mh/bin/mhprofile:56:lines="`$grep -i \"^${1}:\" $profile`" || exit mh-book-200605/examples/mh/bin/mhprofile-57- ############################################## mh-book-200605/examples/mh/bin/recomp-53-trap '/bin/rm -f $tempctx; exit $stat' 0 mh-book-200605/examples/mh/bin/recomp:54:trap 'echo "`basename $0`: Interrupt! Cleaning up..." 1>&2' 1 2 15 mh-book-200605/examples/mh/bin/recomp-55-$mh/folder $folopts $draftf >/dev/null || { mh-book-200605/examples/mh/bin/recomp:56: echo "`basename $0`: quitting: problem with draft folder '$draftf'." 1>&2 mh-book-200605/examples/mh/bin/recomp-57- exit 1 ############################################## mh-book-200605/examples/mh/bin/recomp-66- else mh-book-200605/examples/mh/bin/recomp:67: echo "`basename $0`: quitting: no messages in your $draftf folder?" 1>&2 mh-book-200605/examples/mh/bin/recomp-68- exit ############################################## mh-book-200605/examples/mh/bin/recomp-73- I need the draft message number, if you know it... otherwise, nothing. mh-book-200605/examples/mh/bin/recomp:74: Usage: `basename $0` [msgnum]" 1>&2 mh-book-200605/examples/mh/bin/recomp-75- exit ############################################## mh-book-200605/examples/mh/bin/clrf-76- mh-book-200605/examples/mh/bin/clrf:77:myname=`basename $0` || exit 1 mh-book-200605/examples/mh/bin/clrf-78- ############################################## mh-book-200605/examples/mh/bin/clrf-129-set x `folder -list`; shift mh-book-200605/examples/mh/bin/clrf:130:depth=`expr $# - 1` mh-book-200605/examples/mh/bin/clrf-131-if [ $# -le $stop_at ] ############################################## mh-book-200605/examples/mh/bin/clrf-164-for fol in $to_push mh-book-200605/examples/mh/bin/clrf:165:do set x `folder -push "+$fol"` || exit 1 mh-book-200605/examples/mh/bin/clrf-166-done ############################################## mh-book-200605/examples/mh/bin/drmmer-28-field=X-remove-after # Date field that drmm adds to header mh-book-200605/examples/mh/bin/drmmer:29:myname=`basename $0` # basename (no pathname) of this script mh-book-200605/examples/mh/bin/drmmer-30-seq=drmm # Private sequence of removable messages ############################################## mh-book-200605/examples/mh/bin/scandrafts-94-# GET DRAFT FOLDER NAME: mh-book-200605/examples/mh/bin/scandrafts:95:draftfold="`$mh/mhparam draft-folder`" || { mh-book-200605/examples/mh/bin/scandrafts:96: echo "`basename $0`: quitting: can't find your 'Draft-Folder'." 1>&2 mh-book-200605/examples/mh/bin/scandrafts-97- exit ############################################## mh-book-200605/examples/mh/bin/scandrafts-100-$mh/folder $folopts -push +$draftfold >/dev/null || exit mh-book-200605/examples/mh/bin/scandrafts:101:folpath=`$mh/mhpath +$draftfold` || exit mh-book-200605/examples/mh/bin/scandrafts-102-cd $folpath || exit ############################################## mh-book-200605/examples/mh/bin/scandrafts-133-echo " mh-book-200605/examples/mh/bin/scandrafts:134:[folder +`$mh/folder $folopts -pop` now current]" mh-book-200605/examples/mh/bin/scandrafts-135-stat=0 ############################################## mh-book-200605/examples/mh/bin/pick2me-28- mh-book-200605/examples/mh/bin/pick2me:29:myname=`basename $0` mh-book-200605/examples/mh/bin/pick2me-30- mh-book-200605/examples/mh/bin/pick2me-31-defaults=$myname.addrs # default address file if $PICK2ME envariable not set mh-book-200605/examples/mh/bin/pick2me:32:profargs=`mhparam $myname` # options, if any, in MH profile mh-book-200605/examples/mh/bin/pick2me-33- mh-book-200605/examples/mh/bin/pick2me:34:for addr in ${PICK2ME=`cat \`mhpath +\`/$defaults`} mh-book-200605/examples/mh/bin/pick2me-35-do ############################################## mh-book-200605/examples/mh/bin/distprompter-41- mh-book-200605/examples/mh/bin/distprompter:42:myname="`basename $0`" mh-book-200605/examples/mh/bin/distprompter-43-err=/tmp/DISTPRe$$ header=/tmp/DISTPRd$$ ############################################## mh-book-200605/examples/mh/bin/mhnftpmail-45-cat << END_OF_STUFF 1>&2 mh-book-200605/examples/mh/bin/mhnftpmail:46:`basename $0`: sending mail to '$ftpmail': mh-book-200605/examples/mh/bin/mhnftpmail-47- ############################################## mh-book-200605/examples/mh/bin/drmm-52-field=X-remove-after # Field to add to header mh-book-200605/examples/mh/bin/drmm:53:myname="`basename $0`" mh-book-200605/examples/mh/bin/drmm-54-verbose=y # unset by -noverbose switch ############################################## mh-book-200605/examples/mh/bin/drmm-89-today="$dtoday $mtoday $ytoday" mh-book-200605/examples/mh/bin/drmm:90:ctoday=`expr "$ytoday" : '\([0-9][0-9]\)[0-9][0-9]'` || exit 1 # Century mh-book-200605/examples/mh/bin/drmm-91- ############################################## mh-book-200605/examples/mh/bin/rmmer_1-71-profile=/tmp/RMMERp$$ context=/tmp/RMMERc$$ mh-book-200605/examples/mh/bin/rmmer_1:72:folder="`$mhbin/folder -fast`" || exit mh-book-200605/examples/mh/bin/rmmer_1:73:mhdir="`$mhbin/mhpath +`" || exit mh-book-200605/examples/mh/bin/rmmer_1-74- ############################################## mh-book-200605/examples/mh/bin/original-36-# PUT DRAFT DIRECTORY IN $dir, DRAFT FILE IN $file: mh-book-200605/examples/mh/bin/original:37:eval `echo "$mhdraft" | sed 's@\(.*\)/\(.*\)@dir="\1" file="\2"@'` mh-book-200605/examples/mh/bin/original-38- mh-book-200605/examples/mh/bin/original-39-cd "$dir" || { mh-book-200605/examples/mh/bin/original:40: echo "`basename $0` aborting: can't cd to draft directory '$dir'?" 1>&2 mh-book-200605/examples/mh/bin/original-41- exit 1 ############################################## mh-book-200605/examples/mh/bin/original-45-draft|[1-9]*) orig="$t$file.orig" ;; mh-book-200605/examples/mh/bin/original:46:*) echo "`basename $0` aborting: invalid draft filename '$file'?" 1>&2 mh-book-200605/examples/mh/bin/original-47- exit 1 ############################################## mh-book-200605/examples/mh/bin/original-52-then mh-book-200605/examples/mh/bin/original:53: echo "`basename $0` aborting: can't read draft '$orig' and/or read/write '$file'" 1>&2 mh-book-200605/examples/mh/bin/original-54- exit 1 ############################################## mh-book-200605/examples/mh/bin/original-57-/bin/mv "$file" "$t$file.mhn" || { mh-book-200605/examples/mh/bin/original:58: echo "`basename $0` aborting: can't rename '$file' to '$t$file.mhn'?" 1>&2 mh-book-200605/examples/mh/bin/original-59- exit 1 ############################################## mh-book-200605/examples/mh/bin/original-62-/bin/mv "$orig" "$file" || { mh-book-200605/examples/mh/bin/original:63: echo "`basename $0` aborting: can't rename '$orig' to '$file'?" 1>&2 mh-book-200605/examples/mh/bin/original-64- exit 1 ############################################## mh-book-200605/examples/mh/bin/storeparts-38-ctype=`scan -format '%{content-type}' cur` || exit mh-book-200605/examples/mh/bin/storeparts:39:id=`expr "$ctype" : '.*\(id="[^"]*"\)'` || exit mh-book-200605/examples/mh/bin/storeparts:40:echo "`basename $0`: searching for '$id'." 1>&2 mh-book-200605/examples/mh/bin/storeparts-41-# FIND MESSAGES IN $1 (DEFAULT: ALL MESSAGES) WITH $id IN "Content-Type:". ############################################## mh-book-200605/examples/mh/bin/append-51-case $# in mh-book-200605/examples/mh/bin/append:52:0) echo 1>&2 "`basename $0`: shouldn't get here!"; exit 1;; mh-book-200605/examples/mh/bin/append:53:1) echo 1>&2 "Usage: e[dit] `basename $0` file [files...]"; exit 1 ;; mh-book-200605/examples/mh/bin/append-54-*) while : ############################################## mh-book-200605/examples/mh/bin/pof-76- mh-book-200605/examples/mh/bin/pof:77:myname=`basename $0` || exit 1 mh-book-200605/examples/mh/bin/pof-78- ############################################## mh-book-200605/examples/mh/bin/pof-129-set x `folder -list`; shift mh-book-200605/examples/mh/bin/pof:130:depth=`expr $# - 1` mh-book-200605/examples/mh/bin/pof-131-if [ $# -le $stop_at ] ############################################## mh-book-200605/examples/mh/bin/pof-164-for fol in $to_push mh-book-200605/examples/mh/bin/pof:165:do set x `folder -push "+$fol"` || exit 1 mh-book-200605/examples/mh/bin/pof-166-done ############################################## mh-book-200605/examples/mh/bin/rmmer_1.noask-71-profile=/tmp/RMMERp$$ context=/tmp/RMMERc$$ mh-book-200605/examples/mh/bin/rmmer_1.noask:72:folder="`$mhbin/folder -fast`" || exit mh-book-200605/examples/mh/bin/rmmer_1.noask:73:mhdir="`$mhbin/mhpath +`" || exit mh-book-200605/examples/mh/bin/rmmer_1.noask-74- ############################################## mh-book-200605/examples/mh/bin/pickthread-32- mh-book-200605/examples/mh/bin/pickthread:33:myname=`basename $0` # basename of this script ($0 with no pathname) mh-book-200605/examples/mh/bin/pickthread-34- ############################################## mh-book-200605/examples/mh/bin/pickthread-36-# options from this script will override because they're last: mh-book-200605/examples/mh/bin/pickthread:37:pickopts="`mhparam $myname` -zero -list" mh-book-200605/examples/mh/bin/pickthread-38- ############################################## mh-book-200605/examples/mh/bin/pickthread-46-# in it, complain (make two-line error messages; second line indented): mh-book-200605/examples/mh/bin/pickthread:47:case "`mhpath ${*-cur}`" in mh-book-200605/examples/mh/bin/pickthread-48-"") echo "$usage ############################################## mh-book-200605/examples/mh/bin/pickthread-61-# until we've found a thread. But let's be lazy (and run faster): mh-book-200605/examples/mh/bin/pickthread:62:msgids=`scan $scanopts -format '%{references} %{message-id}' ${*-cur}` || { mh-book-200605/examples/mh/bin/pickthread-63- echo "Usage: $usage ############################################## mh-book-200605/examples/mh/bin/pickthread-88-# Run pick (with eval, to pick up quoting); check exit status and output: mh-book-200605/examples/mh/bin/pickthread:89:msgs=`eval pick $pickopts $lookfor` mh-book-200605/examples/mh/bin/pickthread-90-case "$?$msgs" in ############################################## mh-book-200605/examples/mh/bin/pickthis-51- mh-book-200605/examples/mh/bin/pickthis:52:myname="`basename $0`" # NAME OF THIS SCRIPT WITHOUT LEADING PATH mh-book-200605/examples/mh/bin/pickthis-53- ############################################## mh-book-200605/examples/mh/bin/rmmer-71-profile=/tmp/RMMERp$$ context=/tmp/RMMERc$$ mh-book-200605/examples/mh/bin/rmmer:72:folder="`$mhbin/folder -fast`" || exit mh-book-200605/examples/mh/bin/rmmer:73:mhdir="`$mhbin/mhpath +`" || exit mh-book-200605/examples/mh/bin/rmmer-74- ############################################## mh-book-200605/examples/mh/bin/showpr-81-mhl=/usr/local/lib/mh/mhl # WHERE mhl LIVES mh-book-200605/examples/mh/bin/showpr:82:myname="`basename $0`" mh-book-200605/examples/mh/bin/showpr-83-pr=/bin/pr ############################################## mh-book-200605/examples/mh/bin/showpr-92-# LAST, ORIGINAL COMMAND LINE ARGS (WITH SHELL BUG PATCH): mh-book-200605/examples/mh/bin/showpr:93:eval set x `$mh/mhparam $myname` '${1+"$@"}' mh-book-200605/examples/mh/bin/showpr-94-shift ############################################## mh-book-200605/examples/mh/bin/showpr-109- # USE mhl.showpr FILE, IF ANY: mh-book-200605/examples/mh/bin/showpr:110: if test -r `$mh/mhpath +`/mhl.showpr mh-book-200605/examples/mh/bin/showpr-111- then mhlopts="$mhlopts -form mhl.showpr" ############################################## mh-book-200605/examples/mh/bin/showpr-146-# CHANGE FOLDER (IF USER GAVE ONE), GET NAME. mh-book-200605/examples/mh/bin/showpr:147:folder="`$mh/folder $folopts -fast $newfdr`" mh-book-200605/examples/mh/bin/showpr:148:cd `$mh/mhpath +` || exit # cd TO MH DIRECTORY mh-book-200605/examples/mh/bin/showpr-149- ############################################## mh-book-200605/examples/mh/bin/aligrep-30-if [ $# -eq 0 -o "X$1" = "X-help" ]; then mh-book-200605/examples/mh/bin/aligrep:31: echo "Usage: `basename $0` [-x] string [...strings]" 1>&2 mh-book-200605/examples/mh/bin/aligrep-32- exit 0 ############################################## mh-book-200605/examples/mh/bin/forwedit-63-msgedit=/bin/ed # For editing draft header mh-book-200605/examples/mh/bin/forwedit:64:myname=`basename $0` # Name of this program mh-book-200605/examples/mh/bin/forwedit-65-showbad="/bin/cat -v" # Command to show non-printable characters ############################################## mh-book-200605/examples/mh/bin/forwedit-83-# break those up. mh-book-200605/examples/mh/bin/forwedit:84:origsubj=`$mhdir/scan -width 1000 -format '%{subject}' ${mhmessages-cur}` || { mh-book-200605/examples/mh/bin/forwedit-85- echo "$myname aborting: 'scan ${mhmessages-cur}' failed?" 1>&2 ############################################## mh-book-200605/examples/mh/bin/forwedit-125- # Find editor to use on draft (default: prompter(1)) and run it: mh-book-200605/examples/mh/bin/forwedit:126: profline=`$mhdir/mhparam "$myname"` mh-book-200605/examples/mh/bin/forwedit:127: if editor=`expr "$profline" : '.*-editor *\([^ ]*\)'` mh-book-200605/examples/mh/bin/forwedit-128- then : mh-book-200605/examples/mh/bin/forwedit:129: elif editor=`$mhdir/mhparam editor` mh-book-200605/examples/mh/bin/forwedit-130- then : ############################################## mh-book-200605/examples/mh/bin/lsf-76- mh-book-200605/examples/mh/bin/lsf:77:myname=`basename $0` || exit 1 mh-book-200605/examples/mh/bin/lsf-78- ############################################## mh-book-200605/examples/mh/bin/lsf-129-set x `folder -list`; shift mh-book-200605/examples/mh/bin/lsf:130:depth=`expr $# - 1` mh-book-200605/examples/mh/bin/lsf-131-if [ $# -le $stop_at ] ############################################## mh-book-200605/examples/mh/bin/lsf-164-for fol in $to_push mh-book-200605/examples/mh/bin/lsf:165:do set x `folder -push "+$fol"` || exit 1 mh-book-200605/examples/mh/bin/lsf-166-done ############################################## mh-book-200605/examples/mh/bin/mk_fol_names-100-# If we get here, need to do lookup. Store folder name(s) in $fols: mh-book-200605/examples/mh/bin/mk_fol_names:101:fols=`sed -n "/^$abbrev$T/s///p" $table` mh-book-200605/examples/mh/bin/mk_fol_names-102-case "$fols" in ############################################## mh-book-200605/examples/mh/bin/puf-76- mh-book-200605/examples/mh/bin/puf:77:myname=`basename $0` || exit 1 mh-book-200605/examples/mh/bin/puf-78- ############################################## mh-book-200605/examples/mh/bin/puf-129-set x `folder -list`; shift mh-book-200605/examples/mh/bin/puf:130:depth=`expr $# - 1` mh-book-200605/examples/mh/bin/puf-131-if [ $# -le $stop_at ] ############################################## mh-book-200605/examples/mh/bin/puf-164-for fol in $to_push mh-book-200605/examples/mh/bin/puf:165:do set x `folder -push "+$fol"` || exit 1 mh-book-200605/examples/mh/bin/puf-166-done ############################################## mh-book-200605/examples/mh/bin/fpick-25-# mh-book-200605/examples/mh/bin/fpick:26:cmd=`basename $0` || exit 1 # name by which command called mh-book-200605/examples/mh/bin/fpick-27- ############################################## mh-book-200605/examples/mh/bin/fpick-40-# save current folder mh-book-200605/examples/mh/bin/fpick:41:current="+`folder $folargs -fast`" mh-book-200605/examples/mh/bin/fpick-42-# make sure that if I'm interrupted, then I'll restore properly ############################################## mh-book-200605/examples/mh/bin/fpick-60-# Set x and shift it away; this makes sure "set" doesn't list all variables: mh-book-200605/examples/mh/bin/fpick:61:profargs=`mhparam $cmd` mh-book-200605/examples/mh/bin/fpick-62-if [ -n "$profargs" ] mh-book-200605/examples/mh/bin/fpick-63-then mh-book-200605/examples/mh/bin/fpick:64: set x `mhparam $cmd` ${1+"$@"} mh-book-200605/examples/mh/bin/fpick-65- shift ############################################## mh-book-200605/examples/mh/bin/fpick-144-# mh-book-200605/examples/mh/bin/fpick:145:if [ -d "`mhpath $result`" ] mh-book-200605/examples/mh/bin/fpick-146-then ############################################## mh-book-200605/examples/mh/bin/fpick-178- mh-book-200605/examples/mh/bin/fpick:179: for f in `folders -fast -recurse $rootFolder | egrep -v -e "$prune"` mh-book-200605/examples/mh/bin/fpick-180- do ############################################## mh-book-200605/examples/mh/bin/rmmer.noask-71-profile=/tmp/RMMERp$$ context=/tmp/RMMERc$$ mh-book-200605/examples/mh/bin/rmmer.noask:72:folder="`$mhbin/folder -fast`" || exit mh-book-200605/examples/mh/bin/rmmer.noask:73:mhdir="`$mhbin/mhpath +`" || exit mh-book-200605/examples/mh/bin/rmmer.noask-74- ############################################## mh-book-200605/examples/mh/bin/autoinc-38-# hostname:/u1 842171 442588 315365 58% /u1 mh-book-200605/examples/mh/bin/autoinc:39:homedir="`$df ${HOME?} | $sed -n '2s@.*\(/[^/]*\)$@\1@p'`" mh-book-200605/examples/mh/bin/autoinc-40- ############################################## mh-book-200605/examples/mh/bin/autoinc-50-# (NOTE: SOME ls -s OUTPUT IS IN 512-BYTE BLOCKS; NEED TO DOUBLE THOSE.) mh-book-200605/examples/mh/bin/autoinc:51:set x `/bin/ls -s /usr/spool/mail/$USER` mh-book-200605/examples/mh/bin/autoinc:52:wouldbe="`$expr $used + $2 + $margin`" mh-book-200605/examples/mh/bin/autoinc-53-if [ $wouldbe -ge $total ] ############################################## mh-book-200605/examples/mh/bin/fols-57-1-r*) rec=-recurse ;; mh-book-200605/examples/mh/bin/fols:58:*) echo "Usage: `basename $0` [ -recurse ]" 1>&2; exit 1 ;; mh-book-200605/examples/mh/bin/fols-59-esac ############################################## mh-book-200605/examples/mh/bin/fols-67-folders $rec $folopts | mh-book-200605/examples/mh/bin/fols:68:sed -e "s@^`folder $folopts`\$@&+@" \ mh-book-200605/examples/mh/bin/fols-69- -e 's/^\(........\)...*\(.........\)$/\1=\2/' | ############################################## mh-book-200605/examples/mh/bin/pof1-76- mh-book-200605/examples/mh/bin/pof1:77:myname=`basename $0` || exit 1 mh-book-200605/examples/mh/bin/pof1-78- ############################################## mh-book-200605/examples/mh/bin/pof1-129-set x `folder -list`; shift mh-book-200605/examples/mh/bin/pof1:130:depth=`expr $# - 1` mh-book-200605/examples/mh/bin/pof1-131-if [ $# -le $stop_at ] ############################################## mh-book-200605/examples/mh/bin/pof1-164-for fol in $to_push mh-book-200605/examples/mh/bin/pof1:165:do set x `folder -push "+$fol"` || exit 1 mh-book-200605/examples/mh/bin/pof1-166-done ############################################## mh-book-200605/examples/mh/bin/pof2-76- mh-book-200605/examples/mh/bin/pof2:77:myname=`basename $0` || exit 1 mh-book-200605/examples/mh/bin/pof2-78- ############################################## mh-book-200605/examples/mh/bin/pof2-129-set x `folder -list`; shift mh-book-200605/examples/mh/bin/pof2:130:depth=`expr $# - 1` mh-book-200605/examples/mh/bin/pof2-131-if [ $# -le $stop_at ] ############################################## mh-book-200605/examples/mh/bin/pof2-164-for fol in $to_push mh-book-200605/examples/mh/bin/pof2:165:do set x `folder -push "+$fol"` || exit 1 mh-book-200605/examples/mh/bin/pof2-166-done ############################################## mh-book-200605/examples/mh/bin/pof3-76- mh-book-200605/examples/mh/bin/pof3:77:myname=`basename $0` || exit 1 mh-book-200605/examples/mh/bin/pof3-78- ############################################## mh-book-200605/examples/mh/bin/pof3-129-set x `folder -list`; shift mh-book-200605/examples/mh/bin/pof3:130:depth=`expr $# - 1` mh-book-200605/examples/mh/bin/pof3-131-if [ $# -le $stop_at ] ############################################## mh-book-200605/examples/mh/bin/pof3-164-for fol in $to_push mh-book-200605/examples/mh/bin/pof3:165:do set x `folder -push "+$fol"` || exit 1 mh-book-200605/examples/mh/bin/pof3-166-done ############################################## mh-book-200605/examples/mh/bin/pof4-76- mh-book-200605/examples/mh/bin/pof4:77:myname=`basename $0` || exit 1 mh-book-200605/examples/mh/bin/pof4-78- ############################################## mh-book-200605/examples/mh/bin/pof4-129-set x `folder -list`; shift mh-book-200605/examples/mh/bin/pof4:130:depth=`expr $# - 1` mh-book-200605/examples/mh/bin/pof4-131-if [ $# -le $stop_at ] ############################################## mh-book-200605/examples/mh/bin/pof4-164-for fol in $to_push mh-book-200605/examples/mh/bin/pof4:165:do set x `folder -push "+$fol"` || exit 1 mh-book-200605/examples/mh/bin/pof4-166-done ############################################## mh-book-200605/examples/mh/bin/pof5-76- mh-book-200605/examples/mh/bin/pof5:77:myname=`basename $0` || exit 1 mh-book-200605/examples/mh/bin/pof5-78- ############################################## mh-book-200605/examples/mh/bin/pof5-129-set x `folder -list`; shift mh-book-200605/examples/mh/bin/pof5:130:depth=`expr $# - 1` mh-book-200605/examples/mh/bin/pof5-131-if [ $# -le $stop_at ] ############################################## mh-book-200605/examples/mh/bin/pof5-164-for fol in $to_push mh-book-200605/examples/mh/bin/pof5:165:do set x `folder -push "+$fol"` || exit 1 mh-book-200605/examples/mh/bin/pof5-166-done ############################################## mh-book-200605/examples/mh/bin/pof6-76- mh-book-200605/examples/mh/bin/pof6:77:myname=`basename $0` || exit 1 mh-book-200605/examples/mh/bin/pof6-78- ############################################## mh-book-200605/examples/mh/bin/pof6-129-set x `folder -list`; shift mh-book-200605/examples/mh/bin/pof6:130:depth=`expr $# - 1` mh-book-200605/examples/mh/bin/pof6-131-if [ $# -le $stop_at ] ############################################## mh-book-200605/examples/mh/bin/pof6-164-for fol in $to_push mh-book-200605/examples/mh/bin/pof6:165:do set x `folder -push "+$fol"` || exit 1 mh-book-200605/examples/mh/bin/pof6-166-done ############################################## mh-book-200605/examples/mh/bin/pof7-76- mh-book-200605/examples/mh/bin/pof7:77:myname=`basename $0` || exit 1 mh-book-200605/examples/mh/bin/pof7-78- ############################################## mh-book-200605/examples/mh/bin/pof7-129-set x `folder -list`; shift mh-book-200605/examples/mh/bin/pof7:130:depth=`expr $# - 1` mh-book-200605/examples/mh/bin/pof7-131-if [ $# -le $stop_at ] ############################################## mh-book-200605/examples/mh/bin/pof7-164-for fol in $to_push mh-book-200605/examples/mh/bin/pof7:165:do set x `folder -push "+$fol"` || exit 1 mh-book-200605/examples/mh/bin/pof7-166-done ############################################## mh-book-200605/examples/mh/bin/pof8-76- mh-book-200605/examples/mh/bin/pof8:77:myname=`basename $0` || exit 1 mh-book-200605/examples/mh/bin/pof8-78- ############################################## mh-book-200605/examples/mh/bin/pof8-129-set x `folder -list`; shift mh-book-200605/examples/mh/bin/pof8:130:depth=`expr $# - 1` mh-book-200605/examples/mh/bin/pof8-131-if [ $# -le $stop_at ] ############################################## mh-book-200605/examples/mh/bin/pof8-164-for fol in $to_push mh-book-200605/examples/mh/bin/pof8:165:do set x `folder -push "+$fol"` || exit 1 mh-book-200605/examples/mh/bin/pof8-166-done ############################################## mh-book-200605/examples/mh/old-edition1/replf-42- "") folder="$arg" ;; mh-book-200605/examples/mh/old-edition1/replf:43: *) echo "`basename $0`: '$arg'? Only one folder at a time." 1>&2 mh-book-200605/examples/mh/old-edition1/replf-44- exit ############################################## mh-book-200605/examples/mh/old-edition1/replf-52-case "$folder" in mh-book-200605/examples/mh/old-edition1/replf:53:"") echo "usage: `basename $0` +folder [switches for repl]" 1>&2 mh-book-200605/examples/mh/old-edition1/replf-54- exit ############################################## mh-book-200605/examples/mh/old-edition1/replf-59-# THEN, RESET $MH AND $MHCONTEXT UNTIL END OF THIS SCRIPT: mh-book-200605/examples/mh/old-edition1/replf:60:/bin/cp ${MHCONTEXT-`$mh/mhpath +`/context} $context || exit mh-book-200605/examples/mh/old-edition1/replf-61-# READ NEXT TWO LINES, PLUS A COPY OF USER'S STANDARD ############################################## mh-book-200605/examples/mh/old-edition1/fixsubj-28-mh=/usr/local/mh # WHERE MH COMMANDS LIVE mh-book-200605/examples/mh/old-edition1/fixsubj:29:myname="`basename $0`" # BASENAME OF THIS PROGRAM mh-book-200605/examples/mh/old-edition1/fixsubj-30-scanopts="-noclear -noheader -noreverse" # BYPASS MH PROFILE ############################################## mh-book-200605/examples/mh/old-edition1/fixsubj-70-# FOLDER PATH; IF NO $folder GIVEN, DEFAULTS TO CURRENT: mh-book-200605/examples/mh/old-edition1/fixsubj:71:folpath="`$mh/mhpath $folder`" || exit mh-book-200605/examples/mh/old-edition1/fixsubj-72- ############################################## mh-book-200605/examples/mh/old-edition1/fixsubj-126- echo -n "And the answer is? " 1>&2 mh-book-200605/examples/mh/old-edition1/fixsubj:127: ans="`$line </dev/tty`" mh-book-200605/examples/mh/old-edition1/fixsubj-128- case "$ans" in ############################################## mh-book-200605/examples/mh/old-edition2/rm_msgs.cron.1-2-cd `/xxx/mhpath +` || exit mh-book-200605/examples/mh/old-edition2/rm_msgs.cron.1:3:$find `$find . -type d -name DELETE -print` -type f -mtime +4 -exec rm -f {} ; ############################################## mh-book-200605/examples/mh/old-edition2/vmsmail2mh-44- # GET PATHNAME OF FOLDER, LAST MESSAGE NUMBER: mh-book-200605/examples/mh/old-edition2/vmsmail2mh:45: folpath="`$mh/mhpath`" || exit mh-book-200605/examples/mh/old-edition2/vmsmail2mh:46: firstmsg="`$mh/scan -format '%(msg)' last`" || exit mh-book-200605/examples/mh/old-edition2/vmsmail2mh-47- else mh-book-200605/examples/mh/old-edition2/vmsmail2mh:48: echo "`basename $0`: no folder. quitting." 1>&2 mh-book-200605/examples/mh/old-edition2/vmsmail2mh-49- exit 1 ############################################## mh-book-200605/examples/mh/old-edition2/vmsmail2mh-51- ;; mh-book-200605/examples/mh/old-edition2/vmsmail2mh:52:*) echo "Usage: `basename $0` +folder|@folder [file] mh-book-200605/examples/mh/old-edition2/vmsmail2mh-53- ('$1' doesn't start with + or @.)" 1>&2 ############################################## mh-book-200605/examples/mh/old-edition2/vmsmail2mh-59-then mh-book-200605/examples/mh/old-edition2/vmsmail2mh:60: echo "`basename $0`: quitting: can't read VMS file '$2'." 1>&2 mh-book-200605/examples/mh/old-edition2/vmsmail2mh-61- exit 1 ############################################## mh-book-200605/examples/mh/old-edition2/vmsmail2mh-64-# GET PROTECTION MODE FROM MH PROFILE (IF NONE, USE $dfltprot): mh-book-200605/examples/mh/old-edition2/vmsmail2mh:65:msgprot="`$mhprofile -b msg-protect`" || msgprot=$dfltprot mh-book-200605/examples/mh/old-edition2/vmsmail2mh-66- ############################################## mh-book-200605/examples/mh/old-edition2/babyl2mh-23- # GET PATHNAME OF FOLDER, LAST MESSAGE NUMBER: mh-book-200605/examples/mh/old-edition2/babyl2mh:24: folpath="`$mh/mhpath`" || exit mh-book-200605/examples/mh/old-edition2/babyl2mh:25: firstmsg="`$mh/scan -format '%(msg)' last`" || exit mh-book-200605/examples/mh/old-edition2/babyl2mh-26- else mh-book-200605/examples/mh/old-edition2/babyl2mh:27: echo "`basename $0`: no folder. quitting." 1>&2 mh-book-200605/examples/mh/old-edition2/babyl2mh-28- exit 1 ############################################## mh-book-200605/examples/mh/old-edition2/babyl2mh-30- ;; mh-book-200605/examples/mh/old-edition2/babyl2mh:31:*) echo "Usage: `basename $0` +folder|@folder [file] mh-book-200605/examples/mh/old-edition2/babyl2mh-32- ('$1' doesn't start with + or @.)" 1>&2 ############################################## mh-book-200605/examples/mh/old-edition2/babyl2mh-38-then mh-book-200605/examples/mh/old-edition2/babyl2mh:39: echo "`basename $0`: quitting: can't read Rmail file '$2'." 1>&2 mh-book-200605/examples/mh/old-edition2/babyl2mh-40- exit 1 ############################################## mh-book-200605/examples/mh/old-edition2/babyl2mh-43-# GET PROTECTION MODE FROM MH PROFILE (IF NONE, USE $dfltprot): mh-book-200605/examples/mh/old-edition2/babyl2mh:44:msgprot="`$mhprofile -b msg-protect`" || msgprot=$dfltprot mh-book-200605/examples/mh/old-edition2/babyl2mh-45- ############################################## mh-book-200605/examples/mh/old-edition2/rm_msgs.cron.2-2-cd `/xxxx/mhpath +` || exit mh-book-200605/examples/mh/old-edition2/rm_msgs.cron.2:3:$find `$find . -type d -name DELETE -print` -type f -mtime +4 -print | \ mh-book-200605/examples/mh/old-edition2/rm_msgs.cron.2-4- $xargs rm -f ############################################## mh-book-200605/examples/xmh/bin/edprofile-81-case $# in mh-book-200605/examples/xmh/bin/edprofile:82:0) echo "`basename $0` quitting: not enough arguments." 1>&2; exit 1 ;; mh-book-200605/examples/xmh/bin/edprofile-83-*) cmd="$1"; shift;; ############################################## mh-book-200605/examples/xmh/bin/edprofile-95-if [ "$ended" != yes ]; then mh-book-200605/examples/xmh/bin/edprofile:96: echo "`basename $0` quitting: missing '--' after argument list." 1>&2 mh-book-200605/examples/xmh/bin/edprofile-97- exit 1 ############################################## mh-book-200605/examples/xmh/bin/edprofile-100-if [ ! -r "$MH" -o ! -w "$MH" ]; then mh-book-200605/examples/xmh/bin/edprofile:101: echo "`basename $0` quitting: can't read and/or write profile mh-book-200605/examples/xmh/bin/edprofile-102- '$MH'" 1>&2 ############################################## mh-book-200605/examples/xmh/bin/edprofile-111- if [ -n "$errs" -o $status != 0 ]; then mh-book-200605/examples/xmh/bin/edprofile:112: echo "`basename $0`: edit bombed? ed status=$status, messages: mh-book-200605/examples/xmh/bin/edprofile-113- $errs" 1>&2 ############################################## mh-book-200605/examples/xmh/bin/edprofile-122-else mh-book-200605/examples/xmh/bin/edprofile:123: echo "`basename $0` quitting: can't find '$cmd:' in profile mh-book-200605/examples/xmh/bin/edprofile-124- '$MH'" 1>&2 ############################################## mh-book-200605/examples/mh-mime-sample-4- <^4s"KMisCyYllW/"m~Q^Vobb;ey{33+W|]iQ?CXAG+E)GN@%XiV3dO}bCxw:{2qdS mh-book-200605/examples/mh-mime-sample:5: Qm~j\1$|,bsA*)Zk-v`?XBgn|GmbK>V:=]D>?\v3YP;f;$a!vn%W4%}[X`J}5=$>5~ mh-book-200605/examples/mh-mime-sample-6- Nh8Ys4j{uGI-QS,GhOlzOgI*mgO@8>T\y(iS'_hb}\2W$!Y_K^cfp5t